Browse files

Adding new error_reporting setting to ShellDispatcher.

  • Loading branch information...
1 parent 036bb62 commit f0785170024ba106283046fb7e2e01623f0b4da2 @markstory markstory committed Sep 7, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 cake/console/cake.php
View
2 cake/console/cake.php
@@ -141,7 +141,7 @@ function __construct($args = array()) {
function __initConstants() {
if (function_exists('ini_set')) {
ini_set('display_errors', '1');
- ini_set('error_reporting', E_ALL);
+ ini_set('error_reporting', E_ALL & ~E_DEPRECATED);
ini_set('html_errors', false);
ini_set('implicit_flush', true);
ini_set('max_execution_time', 0);

0 comments on commit f078517

Please sign in to comment.