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:
Andrew Bauer 2018-11-03 20:41:52 -05:00 committed by GitHub
commit 0e6fbe2213
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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
)); ));