1
0
Fork 0

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 2007-05-15 03:36:40 +00:00
parent 5dd9e2439b
commit abc79aeb49
2 changed files with 2 additions and 1 deletions

1
NEWS
View File

@ -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

View File

@ -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 {