|
发表于 2013-1-22 09:27:00
|
显示全部楼层
index.php 中设置下display_errrors试试
PHP复制代码 if (defined('ENVIRONMENT')){
switch (ENVIRONMENT )
{
case 'development':
ini_set('display_errors', 'On');
error_reporting(E_ALL);
break;
case 'testing':
case 'production':
ini_set('display_errors', 'Off');
error_reporting(0);
break;
default:
exit('The application environment is not set correctly.');
}
} 复制代码 |
|