mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Moving error flags to core bootstrap to avoid extra changes in user files, fixing error in previous commit.
This commit is contained in:
parent
12e0652943
commit
b2d13fce40
3 changed files with 4 additions and 14 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue