Skip to content
Permalink
Browse files

Moving error flags to core bootstrap to avoid extra changes in user f…

…iles, fixing error in previous commit.
  • Loading branch information...
nateabele authored and markstory committed Aug 1, 2009
1 parent 12e0652 commit b2d13fce40cf565c7c1129ef9243e78b33dd9f32
Showing with 4 additions and 14 deletions.
  1. +0 −7 app/webroot/index.php
  2. +4 −0 cake/bootstrap.php
  3. +0 −7 cake/console/libs/templates/skel/webroot/index.php
@@ -57,13 +57,6 @@
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}
/**
* PHP 5.3 raises many notices in bootstrap.
*/
if (!defined('E_DEPRECATED')) {
define('E_DEPRECATED', 8192);
}
error_reporting(E_ALL & ~E_DEPRECATED);
/**
* Editing below this line should NOT be necessary.
@@ -27,6 +27,10 @@
if (!defined('PHP5')) {
define('PHP5', (PHP_VERSION >= 5));
}
if (!defined('E_DEPRECATED')) {
define('E_DEPRECATED', 8192);
}
error_reporting(E_ALL & ~E_DEPRECATED);
/**
* Configuration, directory layout and standard libraries
*/
@@ -57,13 +57,6 @@
if (!defined('CAKE_CORE_INCLUDE_PATH')) {
define('CAKE_CORE_INCLUDE_PATH', ROOT);
}
/**
* PHP 5.3 raises many notices in bootstrap.
*/
if (!defined('E_DEPRECATED')) {
define('E_DEPRECATED', 8192);
}
error_reporting(E_ALL & ~E_DEPRECATED);
/**
* Editing below this line should not be necessary.

0 comments on commit b2d13fc

Please sign in to comment.
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session.