mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Use CONFIG constant
This commit is contained in:
parent
664af06851
commit
8a724bb698
1 changed files with 1 additions and 1 deletions
|
@ -141,7 +141,7 @@ class ShellDispatcher {
|
|||
}
|
||||
|
||||
// $boot is used by Cake/bootstrap.php file
|
||||
$boot = file_exists(ROOT . DS . APP_DIR . DS . 'Config' . DS . 'bootstrap.php');
|
||||
$boot = file_exists(CONFIG . 'bootstrap.php');
|
||||
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';
|
||||
|
||||
if (!file_exists(CONFIG . 'core.php')) {
|
||||
|
|
Loading…
Reference in a new issue