Browse Source

could not show module info in admin page when XCache is the last module

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@382 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 14 years ago
parent
commit
abc79aeb49
  1. 1
      NEWS
  2. 2
      admin/xcache.php

1
NEWS

@ -1,6 +1,7 @@
2.0.0 2007-?-?
== NEWS ==
== ChangeLog ==
* could not show module info in admin page when XCache is the last module
* wrong http auth realm
* #86: remove/edit variable in admin page
* fixed #77: hits/misses was not updated

2
admin/xcache.php

@ -203,7 +203,7 @@ default:
ob_start();
phpinfo(INFO_MODULES);
$moduleinfo = ob_get_clean();
if (preg_match('!XCache</a></h2>(.*?)<h2><a name="module_!is', $moduleinfo, $m)) {
if (preg_match('!XCache</a></h2>(.*?)<h2>!is', $moduleinfo, $m)) {
$moduleinfo = $m[1];
}
else {

Loading…
Cancel
Save