mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Prevent accidently translating "%score" as "score"
This commit is contained in:
parent
bcfa07700b
commit
ff01c28735
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ class Configure {
|
||||||
self::_appDefaults();
|
self::_appDefaults();
|
||||||
|
|
||||||
if (!include APP . 'Config' . DS . 'core.php') {
|
if (!include APP . 'Config' . DS . 'core.php') {
|
||||||
trigger_error(__d('cake_dev', "Can't find application core file. Please create %score.php, and make sure it is readable by PHP.", APP . 'Config' . DS), E_USER_ERROR);
|
trigger_error(__d('cake_dev', "Can't find application core file. Please create %s, and make sure it is readable by PHP.", APP . 'Config' . DS . 'core.php'), E_USER_ERROR);
|
||||||
}
|
}
|
||||||
App::init();
|
App::init();
|
||||||
App::$bootstrapping = false;
|
App::$bootstrapping = false;
|
||||||
|
@ -86,7 +86,7 @@ class Configure {
|
||||||
self::_setErrorHandlers($error, $exception);
|
self::_setErrorHandlers($error, $exception);
|
||||||
|
|
||||||
if (!include APP . 'Config' . DS . 'bootstrap.php') {
|
if (!include APP . 'Config' . DS . 'bootstrap.php') {
|
||||||
trigger_error(__d('cake_dev', "Can't find application bootstrap file. Please create %sbootstrap.php, and make sure it is readable by PHP.", APP . 'Config' . DS), E_USER_ERROR);
|
trigger_error(__d('cake_dev', "Can't find application bootstrap file. Please create %s, and make sure it is readable by PHP.", APP . 'Config' . DS . 'bootstrap.php'), E_USER_ERROR);
|
||||||
}
|
}
|
||||||
restore_error_handler();
|
restore_error_handler();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue