summaryrefslogtreecommitdiff
path: root/inc/pageutils.php
diff options
context:
space:
mode:
authorMichael Klier <chi@chimeric.de>2008-10-11 18:29:01 +0200
committerMichael Klier <chi@chimeric.de>2008-10-11 18:29:01 +0200
commite6a873d798014993bd19ff6100a5c19e525da023 (patch)
tree69695b60dc29a7dd8ef638b5aa149c431d261e1f /inc/pageutils.php
parent50ddb617bb5ade24817125a207fd407b98c520b8 (diff)
downloadrpg-e6a873d798014993bd19ff6100a5c19e525da023.tar.gz
rpg-e6a873d798014993bd19ff6100a5c19e525da023.tar.bz2
do not hide pages when ACT
darcs-hash:20081011162901-23886-c2ed10a43f6968703ac11be4e33d19af2b1137d8.gz
Diffstat (limited to 'inc/pageutils.php')
-rw-r--r--inc/pageutils.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/inc/pageutils.php b/inc/pageutils.php
index abfca08de..e509dfde3 100644
--- a/inc/pageutils.php
+++ b/inc/pageutils.php
@@ -479,7 +479,9 @@ function getCacheName($data,$ext=''){
*/
function isHiddenPage($id){
global $conf;
+ global $ACT;
if(empty($conf['hidepages'])) return false;
+ if($ACT == 'admin') return false;
if(preg_match('/'.$conf['hidepages'].'/ui',':'.$id)){
return true;