1
0
Fork 0

undefined variable when ini is not found

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1202 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2012-12-17 13:32:47 +00:00
parent 36ef103274
commit 35a0b57dcd
3 changed files with 4 additions and 3 deletions

View File

@ -6,7 +6,8 @@ ChangeLog
* fixes #290: workaround phpize vs fbsd make bug again
* improve compatibility with "the ionCube PHP Loader", Zend Optimizer
* fix random crash when cache is reinitialized yet failed (Thanks to Brad Baker for generating crash dump)
* fix ZTS thead safe
* fix locking impl: improve stability on threaded env
* diagnosis: undefined variable when ini is not found
3.0.0 2012-10-29
API Changes

2
NEWS
View File

@ -2,7 +2,7 @@
ChangeLog
========
* bug fixes
* fix ZTS thead safe
* improve stability on threaded env
* improve compatibility with "the ionCube PHP Loader", Zend Optimizer
* improve stability

View File

@ -80,7 +80,7 @@ if (!$xcacheLoaded) {
if ($loadedIni) {
echo sprintf(_T("Add extension=xcache.so (or xcache.dll) in %s"), $loadedIni);
}
else if (preg_match('!Configuration File \\(php.ini\\) Path *</td><td class="v">([^<]+)!', $info, $m)) {
else if (preg_match('!Configuration File \\(php.ini\\) Path *</td><td class="v">([^<]+)!', $loadedIni, $m)) {
echo sprintf(_T("Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"), $iniDirectory);
}
else {