]> git.plutz.net Git - confetti/commitdiff
default to cards page
authorPaul Hänsch <paul@plutz.net>
Tue, 9 Oct 2018 11:46:48 +0000 (13:46 +0200)
committerPaul Hänsch <paul@plutz.net>
Tue, 9 Oct 2018 11:46:48 +0000 (13:46 +0200)
globals.sh

index eaae8818e902645c7d1dd01c03645c645e89f4db..36498e13908da57f21e76515272a930c31f75ea4 100755 (executable)
@@ -23,7 +23,7 @@ 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