From ad627f401c0601638b9493b6a26c355ad3103234 Mon Sep 17 00:00:00 2001 From: Neil Blakey-Milner Date: Sun, 31 Jul 2005 08:34:33 +0000 Subject: [PATCH] Almost all pages need to checkSession, not just admin ones. Add KTStandardDispatcher to handle this. --- lib/dispatcher.inc.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/dispatcher.inc.php b/lib/dispatcher.inc.php index 6839698..b032a8c 100644 --- a/lib/dispatcher.inc.php +++ b/lib/dispatcher.inc.php @@ -54,7 +54,7 @@ class KTDispatcher { } } -class KTAdminDispatcher extends KTDispatcher { +class KTStandardDispatcher extends KTDispatcher { function permissionDenied () { print "Permission denied"; } @@ -67,4 +67,7 @@ class KTAdminDispatcher extends KTDispatcher { } } +class KTAdminDispatcher extends KTStandardDispatcher { +} + ?> -- libgit2 0.21.4