E_WARNING 표시와 디버그 모드를 끕니다.

This commit is contained in:
CONORY 2016-01-11 16:15:07 +09:00
parent 6d2fd16387
commit e80332706a

View file

@ -9,11 +9,11 @@
*/ */
if(version_compare(PHP_VERSION, '5.4.0', '<')) if(version_compare(PHP_VERSION, '5.4.0', '<'))
{ {
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED); @error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING);
} }
else else
{ {
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT); @error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_STRICT);
} }
if(!defined('__XE__')) if(!defined('__XE__'))
@ -133,7 +133,7 @@ if(!defined('__DEBUG__'))
* 4: output DB query history * 4: output DB query history
* </pre> * </pre>
*/ */
define('__DEBUG__', 1); define('__DEBUG__', 0);
} }
if(!defined('__DEBUG_OUTPUT__')) if(!defined('__DEBUG_OUTPUT__'))