Browse Source

updated notice for when missing php.ini

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@421 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
3.0
Xuefer 14 years ago
parent
commit
309e6669e3
  1. 3
      admin/xcache.php

3
admin/xcache.php

@ -92,6 +92,9 @@ if (!extension_loaded('XCache')) {
if (preg_match('!<td class="v">(.*\\.ini)!', $info, $m)) {
echo "Please check $m[1]";
}
else if (preg_match('!Configuration File \\(php.ini\\) Path *</td><td class="v">([^<]+)!', $info, $m)) {
echo "Please put a php.ini in $m[1] and load XCache extension";
}
else {
echo "You don't even have a php.ini yet?";
}

Loading…
Cancel
Save