mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
Merge pull request #1526 from dmromanov/2.4-translations
Prevent accidently translating "%score" as "score"
This commit is contained in:
commit
35bbd55819
1 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ class Configure {
|
|||
self::_appDefaults();
|
||||
|
||||
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::$bootstrapping = false;
|
||||
|
@ -86,7 +86,7 @@ class Configure {
|
|||
self::_setErrorHandlers($error, $exception);
|
||||
|
||||
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();
|
||||
|
||||
|
|
Loading…
Reference in a new issue