mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-02-07 12:36:25 +00:00
Define CONFIG constant
This commit is contained in:
parent
8a724bb698
commit
3f909e9a00
1 changed files with 3 additions and 0 deletions
|
@ -140,6 +140,9 @@ class ShellDispatcher {
|
||||||
define('TMP', CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'Console' . DS . 'Templates' . DS . 'skel' . DS . 'tmp' . DS);
|
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 is used by Cake/bootstrap.php file
|
||||||
$boot = file_exists(CONFIG . 'bootstrap.php');
|
$boot = file_exists(CONFIG . 'bootstrap.php');
|
||||||
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';
|
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';
|
||||||
|
|
Loading…
Add table
Reference in a new issue