]> git.plutz.net Git - serve0/blobdiff - constants.sh
split up in distinct pages
[serve0] / constants.sh
index 33cce96e8d574d0a2955c12628da975f169a0502..36c85bca7caa1b01f35bebd662815a699f33374d 100755 (executable)
@@ -18,5 +18,6 @@
 # along with Serve0.  If not, see <http://www.gnu.org/licenses/>. 
 
 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)$'