2005-06-28
When trying to logout, the page says that I dont have permission to access this page, and the logout button doesn't dissapera. I think it will be fixed with:
--- wiki.orig/inc/actions.php 2005-05-07 11:22:56.000000000 +0200
+++ wiki/inc/actions.php 2005-06-28 15:22:53.512322313 +0200
@@ -23,16 +23,16 @@
global $lang;
global $conf;
+ //login stuff
+ if(in_array($ACT,array('login','logout','register')))
+ $ACT = act_auth($ACT);
+
//sanitize $ACT
$ACT = act_clean($ACT);
//check permissions
$ACT = act_permcheck($ACT);
- //login stuff
- if(in_array($ACT,array('login','logout','register')))
- $ACT = act_auth($ACT);
-
//save
if($ACT == 'save')
$ACT = act_save($ACT);