X-Git-Url: https://git.plutz.net/?p=confetti;a=blobdiff_plain;f=globals.sh;h=36498e13908da57f21e76515272a930c31f75ea4;hp=ed954672b2c95e2627f68a9f6f16b48ae214ab64;hb=583a91a8017f002897acc7aeaf01153b02f336b1;hpb=e4a974a6b990f9f5fb521303b82ef6289f6027fa diff --git a/globals.sh b/globals.sh index ed95467..36498e1 100755 --- a/globals.sh +++ b/globals.sh @@ -17,10 +17,13 @@ # You should have received a copy of the GNU Affero General Public License # along with Confetti. If not, see . -export LC_ALL=de_DE.UTF-8 +date() { + LANG=de_DE.UTF-8 LC_ALL=de_DE.UTF-8 /bin/date $@ +} + PROFILE=$(validate "$PROFILE" 'medical|circus' circus ) -PAGE="${_GET[p]:-$PAGE}" +PAGE="${_GET[p]:-${PAGE:-cards}}" uuidgenerator(){ head -c16 /dev/urandom |sha1sum - |cut -c1-32