Define CONFIG constant

This commit is contained in:
bancer 2019-02-21 17:18:15 +01:00
parent 8a724bb698
commit 3f909e9a00

View file

@ -140,6 +140,9 @@ 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(CONFIG . 'bootstrap.php');
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';