Merge pull request #2286 from ratmole/api-php-notice-fix
API - Disable E_NOTICE from php error reporting in cake debug
This commit is contained in:
commit
0e6fbe2213
|
@ -50,7 +50,7 @@
|
||||||
*/
|
*/
|
||||||
Configure::write('Error', array(
|
Configure::write('Error', array(
|
||||||
'handler' => 'ErrorHandler::handleError',
|
'handler' => 'ErrorHandler::handleError',
|
||||||
'level' => E_ALL & ~E_DEPRECATED,
|
'level' => E_ALL & ~E_DEPRECATED & ~E_NOTICE,
|
||||||
'trace' => true
|
'trace' => true
|
||||||
));
|
));
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue