Use CONFIG constant

This commit is contained in:
bancer 2019-02-21 16:54:07 +01:00
parent 664af06851
commit 8a724bb698

View file

@ -141,7 +141,7 @@ class ShellDispatcher {
} }
// $boot is used by Cake/bootstrap.php file // $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'; require CORE_PATH . 'Cake' . DS . 'bootstrap.php';
if (!file_exists(CONFIG . 'core.php')) { if (!file_exists(CONFIG . 'core.php')) {