From 309e6669e308776cf924060c0f945bb718ddf413 Mon Sep 17 00:00:00 2001 From: Xuefer Date: Thu, 21 Jun 2007 15:40:17 +0000 Subject: [PATCH] updated notice for when missing php.ini git-svn-id: svn://svn.lighttpd.net/xcache/trunk@421 c26eb9a1-5813-0410-bd6c-c2e55f420ca7 --- admin/xcache.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/xcache.php b/admin/xcache.php index 5f16602..ffaf8b5 100644 --- a/admin/xcache.php +++ b/admin/xcache.php @@ -92,6 +92,9 @@ if (!extension_loaded('XCache')) { if (preg_match('!(.*\\.ini)!', $info, $m)) { echo "Please check $m[1]"; } + else if (preg_match('!Configuration File \\(php.ini\\) Path *([^<]+)!', $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?"; }