Changeset 1203 for trunk/htdocs/diagnosis/index.php
- Timestamp:
- 2012-12-17T14:35:48+01:00 (6 months ago)
- File:
-
- 1 edited
-
trunk/htdocs/diagnosis/index.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/diagnosis/index.php
r1202 r1203 65 65 $iniDirectory = ''; 66 66 if (preg_match('!<td class="v">(.*?\\.ini)!', $info, $m)) { 67 $loadedIni = $m[1];67 $loadedIni = trim($m[1]); 68 68 } 69 69 else if (preg_match('!Configuration File \\(php.ini\\) Path *</td><td class="v">([^<]+)!', $info, $m)) { 70 $iniDirectory = $m[1];70 $iniDirectory = trim($m[1]); 71 71 } 72 72 return array($loadedIni, $iniDirectory, $iniInfo); … … 81 81 echo sprintf(_T("Add extension=xcache.so (or xcache.dll) in %s"), $loadedIni); 82 82 } 83 else if ( preg_match('!Configuration File \\(php.ini\\) Path *</td><td class="v">([^<]+)!', $loadedIni, $m)) {83 else if ($iniDirectory) { 84 84 echo sprintf(_T("Please put a php.ini in %s and add extension=xcache.so (or xcache.dll) in it"), $iniDirectory); 85 85 }
Note: See TracChangeset
for help on using the changeset viewer.

