From: paul Date: Sat, 13 Jun 2015 15:10:18 +0000 (+0000) Subject: consider new cgi variable name in default page X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=bd126867a96b8c0305f17a5756f80455cb29abf0;p=serve0 consider new cgi variable name in default page svn path=/trunk/; revision=55 --- diff --git a/constants.sh b/constants.sh index 727952d..1791215 100755 --- a/constants.sh +++ b/constants.sh @@ -18,7 +18,7 @@ # along with Serve0. If not, see . 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)$'