Browse Source

undefined variable when ini is not found

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1202 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 9 years ago
parent
commit
35a0b57dcd
  1. 3
      ChangeLog
  2. 2
      NEWS
  3. 2
      htdocs/diagnosis/index.php

3
ChangeLog

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

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

2
htdocs/diagnosis/index.php

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

Loading…
Cancel
Save