#1 dcb110
我在$spConfig配置里面并没有开启部署模式啊,为什么页面上不输出任何错误信息,只有一个http error 500?我的member.php里面的配置如下:
$spConfig = array(
'controller_path' => APP_PATH.'/controller/'.basename(__FILE__,".php"),
'allow_trace_onrelease' => false, // 是否允许在部署模式下输出调试信息
'dispatcher_error' => "header('HTTP/1.0 404 Not Found');exit();",
'view' => array(
'dispatcher_error' => "import(APP_PATH.'/404.html');exit();",
'enabled' => TRUE, // 开启视图
'config' =>array(
'template_dir' => APP_PATH.'/tpl', // 模板目录
'compile_dir' => APP_PATH.'/tmp', // 编译目录
'cache_dir' => APP_PATH.'/tmp', // 缓存目录
'left_delimiter' => '<{', // smarty左限定符
'right_delimiter' => '}>', // smarty右限定符
),
),
当我把'allow_trace_onrelease' => false改为true结果也是一样;在配置里面加上'mode' => 'debug' 也没有任何改变。求帮助啊
2016-07-30 01:50:24