aboutsummaryrefslogtreecommitdiff
path: root/wiki.c
diff options
context:
space:
mode:
authorthe little girl <yui@blekksprut.net>2014-02-21 14:59:05 +0100
committerthe little girl <yui@blekksprut.net>2014-02-21 14:59:05 +0100
commit827c442ab3586e6019b97714ca0b925a4625a361 (patch)
tree1c90b0c7d62a2a3043249eecd33cb5ce061cf691 /wiki.c
parent1df69d24a8ff337393e9cdd6cdfbba81f008d374 (diff)
downloadukulele-827c442ab3586e6019b97714ca0b925a4625a361.tar.xz
ikke lenger hardkode home
Diffstat (limited to 'wiki.c')
-rw-r--r--wiki.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/wiki.c b/wiki.c
index 53fed93..d8fd11c 100644
--- a/wiki.c
+++ b/wiki.c
@@ -270,7 +270,7 @@ int main(int argc, char **argv) {
if(!base) base = strdup(dirname(strdup(script)));
if(authenticate && !(id = authenticate())) return unauthorized(401);
- if(!legit(page++)) return redirect("hei");
+ if(!legit(page++)) return redirect(home);
setenv("MARXUP_HEADER", "2", 1);
setenv("MARXUP_PREFIX", base, 1);