mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
commit
d054d536ab
1 changed files with 4 additions and 1 deletions
|
@ -140,8 +140,11 @@ class ShellDispatcher {
|
|||
define('TMP', CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'Console' . DS . 'Templates' . DS . 'skel' . DS . 'tmp' . DS);
|
||||
}
|
||||
|
||||
if (!defined('CONFIG')) {
|
||||
define('CONFIG', ROOT . DS . APP_DIR . DS . 'Config' . DS);
|
||||
}
|
||||
// $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