mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
E_WARNING 표시와 디버그 모드를 끕니다.
This commit is contained in:
parent
6d2fd16387
commit
e80332706a
1 changed files with 3 additions and 3 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);
|
@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__'))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue