From 8c5215b744582107f352aa4ccea4182296674250 Mon Sep 17 00:00:00 2001 From: Andreas Gohr <gohr@cosmocode.de> Date: Wed, 13 Jan 2010 09:40:30 +0100 Subject: [PATCH] another fix for FS#1847 + msg increased --- conf/msg | 2 +- lib/plugins/acl/ajax.php | 2 +- 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(); -- GitLab