Moving error flags to core bootstrap to avoid extra changes in user files, fixing error in previous commit.

This commit is contained in:
nate 2009-08-01 08:36:57 -04:00 committed by mark_story
parent 12e0652943
commit b2d13fce40
3 changed files with 4 additions and 14 deletions

View file

@ -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.

View file

@ -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
*/

View file

@ -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.