Browse Source

htdocs: trigger auth first

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

1
htdocs/cacher/index.php

@ -243,6 +243,7 @@ function getEntryList() // {{{
// }}}
$module = "cacher";
xcache_count(XC_TYPE_PHP); // trigger auth
if (!extension_loaded('XCache')) {
include "../common/header.tpl.php";
echo '<h1>XCache is not loaded</h1>';

Loading…
Cancel
Save