X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=constants.sh;h=36c85bca7caa1b01f35bebd662815a699f33374d;hb=563bd9812b0eb73ae4e49de012e0f67ed836faaf;hp=98dc1deabd5b42fee132fef418698996a039bf88;hpb=69498b6a3a0520ffaf13b7ebc5a034b01f50b535;p=serve0 diff --git a/constants.sh b/constants.sh index 98dc1de..36c85bc 100755 --- a/constants.sh +++ b/constants.sh @@ -18,6 +18,6 @@ # along with Serve0. If not, see . alias _wiki="stx2any --no-template --link-abbrevs --quote -T html" -_GET["page"]=videoview +[ -z "$_GET[\"page\"]" ] && _GET["page"]=list pagesize=100 file_pattern='^.*(mov|ts|mpg|mpeg|mp4|m4v|avi|mkv|flv|sfv|wmv|ogm|webm|iso|rmvb)$'