mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 10:41:40 +09:00
Don't hide E_WARNING
This commit is contained in:
parent
4dedd2508c
commit
f8ca668982
1 changed files with 2 additions and 2 deletions
|
|
@ -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 ^ E_WARNING);
|
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_WARNING ^ E_STRICT);
|
@error_reporting(E_ALL ^ E_NOTICE ^ E_DEPRECATED ^ E_STRICT);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(!defined('__XE__'))
|
if(!defined('__XE__'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue