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-c2e55f420ca73.0
parent
5dd9e2439b
commit
abc79aeb49
1
NEWS
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
|
||||
|
|
|
@ -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…
Reference in New Issue