Explorar o código

在配置文件,显示错误信息,这样在部署模式下也能显示错误

star7th %!s(int64=9) %!d(string=hai) anos
pai
achega
a6707d5a3f
Modificáronse 1 ficheiros con 2 adicións e 1 borrados
  1. 2 1
      Application/Common/Conf/config.php

+ 2 - 1
Application/Common/Conf/config.php

@@ -21,5 +21,6 @@ return array(
 	    ':id\d'               => 'Home/Item/Show?item_id=:1',
 	    'uid/:id\d'               => 'Home/Item/showByUid?uid=:1',
 	),
-	'URL_CASE_INSENSITIVE'=>true
+	'URL_CASE_INSENSITIVE'=>true,
+	'SHOW_ERROR_MSG'        =>  true,    // 显示错误信息,这样在部署模式下也能显示错误
 );