X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=constants.sh;h=1791215f596fe47accdd53a7de968c7a9291df37;hb=18eaa57ea874a8bf1ebae2a0d758a4bb7632cf37;hp=36c85bca7caa1b01f35bebd662815a699f33374d;hpb=563bd9812b0eb73ae4e49de012e0f67ed836faaf;p=serve0 diff --git a/constants.sh b/constants.sh index 36c85bc..1791215 100755 --- a/constants.sh +++ b/constants.sh @@ -1,6 +1,6 @@ #!/bin/zsh -# Copyright 2014 Paul Hänsch +# Copyright 2014,2015 Paul Hänsch # # This file is part of Serve0. # @@ -18,6 +18,8 @@ # 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)$' + +data_dirs cache meta mp4 videos thumbs trash by_length transcoded