1
0
Fork 0

updated notice for when missing php.ini

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@421 c26eb9a1-5813-0410-bd6c-c2e55f420ca7
This commit is contained in:
Xuefer 2007-06-21 15:40:17 +00:00
parent 4932014df3
commit 309e6669e3
1 changed files with 3 additions and 0 deletions

View File

@ -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?";
}