summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Gohr <gohr@cosmocode.de>2010-01-13 09:40:30 +0100
committerAndreas Gohr <gohr@cosmocode.de>2010-01-13 09:43:11 +0100
commit98842ebb32df0ff78abeafe20b0b162b01730404 (patch)
treea6cad30d73f1b3e0b0f3414d3555d4ef9053dfb2
parenta46c097d04d070a8b37f3670277007639d06ff86 (diff)
downloadrpg-98842ebb32df0ff78abeafe20b0b162b01730404.tar.gz
rpg-98842ebb32df0ff78abeafe20b0b162b01730404.tar.bz2
another fix for FS#1847 + msg increased
-rw-r--r--conf/msg2
-rw-r--r--lib/plugins/acl/ajax.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/conf/msg b/conf/msg
index f0c0f8f96..87287f5c4 100644
--- a/conf/msg
+++ b/conf/msg
@@ -1,4 +1,4 @@
-23
+24
The first line of this file contains a number, indicating
which notification messages should not be displayed. This
is the only information sent to dokuwiki.org when the
diff --git a/lib/plugins/acl/ajax.php b/lib/plugins/acl/ajax.php
index 97fae2ad1..e383f0d35 100644
--- a/lib/plugins/acl/ajax.php
+++ b/lib/plugins/acl/ajax.php
@@ -19,7 +19,7 @@ require_once(DOKU_INC.'inc/auth.php');
//close session
session_write_close();
-if(!auth_ismanager()) die('forbidden');
+if(!auth_isadmin()) die('forbidden');
$ID = getID();