warning 메시지를 표시하지 않도록 변경

This commit is contained in:
bnu 2014-02-09 15:25:17 +09:00 committed by khongchi
parent 0890387908
commit c558dbc713

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__'))