From d003277b8a242d85e8f8cd60aca626c871e4ec89 Mon Sep 17 00:00:00 2001 From: paul Date: Sat, 13 Jun 2015 16:15:02 +0000 Subject: [PATCH] adapt default m=page mechanism to updated cgi engine svn path=/trunk/; revision=65 --- constants.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constants.sh b/constants.sh index 36af546..590c968 100755 --- a/constants.sh +++ b/constants.sh @@ -27,7 +27,7 @@ _wiki(){ LOGIN=false USER="#NONE#" -_GET["p"]=Home +[ -z "$_GET[\"p\"]" ] && _GET["p"]=Home sessfile="$_DATA/auth/session$(sed -rn 's:^.*session=([a-zA-Z0-9]{32}).*$:\1:p' <<<"$HTTP_COOKIE")" if [ -r "$sessfile" ]; then -- 2.39.2