From e6a873d798014993bd19ff6100a5c19e525da023 Mon Sep 17 00:00:00 2001
From: Michael Klier <chi@chimeric.de>
Date: Sat, 11 Oct 2008 18:29:01 +0200
Subject: [PATCH] do not hide pages when ACT

darcs-hash:20081011162901-23886-c2ed10a43f6968703ac11be4e33d19af2b1137d8.gz
---
 inc/pageutils.php | 2 ++
 1 file changed, 2 insertions(+)

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;
-- 
GitLab