]> git.plutz.net Git - serve0/blobdiff - constants.sh
adapted to update in shcgi
[serve0] / constants.sh
index 1791215f596fe47accdd53a7de968c7a9291df37..89236b1e9efb528e0b13b2fc581ed4d67a86b370 100755 (executable)
@@ -18,7 +18,7 @@
 # along with Serve0.  If not, see <http://www.gnu.org/licenses/>. 
 
 alias _wiki="stx2any --no-template --link-abbrevs --quote -T html"
-[ -z "$_GET[\"p\"]" ] && _GET["p"]=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)$'