From 6e865a75e6e5cabdbd3658b74b9f548d8a07deeb Mon Sep 17 00:00:00 2001 From: Xuefer Date: Thu, 23 Aug 2012 03:44:21 +0000 Subject: [PATCH] avoid undefined function when XCache not loaded git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1145 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- htdocs/cacher/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/cacher/index.php b/htdocs/cacher/index.php index 74d13ab..de5acfb 100644 --- a/htdocs/cacher/index.php +++ b/htdocs/cacher/index.php @@ -251,12 +251,13 @@ function getEntryList() // {{{ } // }}} -xcache_count(XC_TYPE_PHP); // trigger auth if (!extension_loaded('XCache')) { header("Location: ../diagnosis"); exit; } +xcache_count(XC_TYPE_PHP); // trigger auth + $doTypes = array( '' => _T('Summary'), 'listphp' => _T('List PHP'),