[geeklog-hg] geeklog: Since instance cache is always used have the clear cach...

geeklog-cvs at lists.geeklog.net geeklog-cvs at lists.geeklog.net
Sat Jul 13 13:42:42 EDT 2013


changeset 9185:fc379b4c0ef7
url:  http://project.geeklog.net/cgi-bin/hgwebdir.cgi/geeklog/rev/fc379b4c0ef7
user: Tom <websitemaster at cogeco.net>
date: Sat Jul 13 12:32:48 2013 -0400
description:
Since instance cache is always used have the clear cache admin tool always display for root users

diffstat:

 public_html/admin/index.php |  3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diffs (20 lines):

diff -r 80ed07764ece -r fc379b4c0ef7 public_html/admin/index.php
--- a/public_html/admin/index.php	Sat Jul 13 12:17:42 2013 -0400
+++ b/public_html/admin/index.php	Sat Jul 13 12:32:48 2013 -0400
@@ -209,7 +209,6 @@
                         $docsUrl = $_CONF['site_url'] . '/' . $docs;
                     }
                 }
-                $showClearCacheIcon = ($_CONF['cache_templates'] && SEC_inGroup('Root'));
                 
                 $cc_arr = array(
                     array('condition' => SEC_hasRights($_CONF_FT, 'OR'),
@@ -230,7 +229,7 @@
                                             ($_DB_dbms == 'mysql') && SEC_inGroup('Root'),
                         'url' => $_CONF['site_admin_url'] . '/database.php',
                         'lang' => $LANG01[103], 'image' => $_CONF['layout_url'] . '/images/icons/database.' . $_IMAGE_TYPE),
-                    array('condition' => $showClearCacheIcon,
+                    array('condition' => SEC_inGroup('Root'),
                         'url' => $_CONF['site_admin_url'] . '/clearctl.php',
                         'lang' => $LANG01['ctl'], 'image' => $_CONF['layout_url'] . '/images/icons/ctl.' . $_IMAGE_TYPE),
                     array('condition' => SEC_inGroup('Root'),



More information about the geeklog-cvs mailing list