Browse Source

avoid undefined function when XCache not loaded

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1145 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
6e865a75e6
  1. 3
      htdocs/cacher/index.php

3
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'),

Loading…
Cancel
Save