diff options
author | Michael Klier <chi@chimeric.de> | 2008-10-11 18:29:01 +0200 |
---|---|---|
committer | Michael Klier <chi@chimeric.de> | 2008-10-11 18:29:01 +0200 |
commit | e6a873d798014993bd19ff6100a5c19e525da023 (patch) | |
tree | 69695b60dc29a7dd8ef638b5aa149c431d261e1f | |
parent | 50ddb617bb5ade24817125a207fd407b98c520b8 (diff) | |
download | rpg-e6a873d798014993bd19ff6100a5c19e525da023.tar.gz rpg-e6a873d798014993bd19ff6100a5c19e525da023.tar.bz2 |
do not hide pages when ACT
darcs-hash:20081011162901-23886-c2ed10a43f6968703ac11be4e33d19af2b1137d8.gz
-rw-r--r-- | inc/pageutils.php | 2 |
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; |