X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=globals.sh;h=d6dcefdad5f669a2a4823623e1399793794b3830;hb=19b21afda273f971fa280531b1f51ea6623a7102;hp=4b4590f7cc549067e9e06b63e1f0da930102fa3b;hpb=47b905d14103c01625d16fe557e63e34317c6453;p=serve0 diff --git a/globals.sh b/globals.sh index 4b4590f..d6dcefd 100755 --- a/globals.sh +++ b/globals.sh @@ -20,9 +20,9 @@ alias _wiki="stx2any --no-template --link-abbrevs --quote -T html" 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 +data_dirs cache meta mp4 videos thumbs trash transcoded -PAGE="${_GET[p]:-${PAGE:-list}}" +PAGE="${_GET[p]:-${PAGE:-browse}}" treeroot="${treeroot:-${_DATA}}" _GET[o]=$( validate "${_GET[o]}" 'Name|Date|Length' Name)