]> git.plutz.net Git - serve0/commitdiff
consider new cgi variable name in default page
authorpaul <paul@plutz.net>
Sat, 13 Jun 2015 15:10:18 +0000 (15:10 +0000)
committerpaul <paul@plutz.net>
Sat, 13 Jun 2015 15:10:18 +0000 (15:10 +0000)
svn path=/trunk/; revision=55

constants.sh

index 727952d4de8d0a6db296146472a647a9dfe922b9..1791215f596fe47accdd53a7de968c7a9291df37 100755 (executable)
@@ -18,7 +18,7 @@
 # along with Serve0.  If not, see <http://www.gnu.org/licenses/>. 
 
 alias _wiki="stx2any --no-template --link-abbrevs --quote -T html"
-[ -z "$_GET[\"page\"]" ] && _GET["page"]=list
+[ -z "$_GET[\"p\"]" ] && _GET["p"]=list
 pagesize=100
 file_pattern='^.*(mov|ts|mpg|mpeg|mp4|m4v|avi|mkv|flv|sfv|wmv|ogm|webm|iso|rmvb)$'