X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=constants.sh;h=36c85bca7caa1b01f35bebd662815a699f33374d;hb=563bd9812b0eb73ae4e49de012e0f67ed836faaf;hp=33cce96e8d574d0a2955c12628da975f169a0502;hpb=3aace0c1bda8f5f2d5e52024d6643872c5655c6a;p=serve0 diff --git a/constants.sh b/constants.sh index 33cce96..36c85bc 100755 --- a/constants.sh +++ b/constants.sh @@ -18,5 +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)$'