Authored by ziy

修改错误显示提示

... ... @@ -312,9 +312,12 @@ class Server extends Root
*/
private function _parseIniFile($filename)
{
if (!file_exists($filename)) {
throw new DebugException($filename . ' Not Find,');
}
$iniArray = parse_ini_file($filename, true);
if ($iniArray == false) {
throw new DebugException(' Ini file ' . $filename . ' not find. ');
throw new DebugException($filename . ' Not Array.');
}
return $iniArray;
}
... ...