Add a note about $boot

This commit is contained in:
Mark Sch 2016-11-26 18:10:37 +01:00 committed by GitHub
parent 43aa5dd502
commit 02df9ff72e

View file

@ -139,6 +139,8 @@ class ShellDispatcher {
if (!defined('TMP') && !is_dir(APP . 'tmp')) {
define('TMP', CAKE_CORE_INCLUDE_PATH . DS . 'Cake' . DS . 'Console' . DS . 'Templates' . DS . 'skel' . DS . 'tmp' . DS);
}
// $boot is used by Cake/bootstrap.php file
$boot = file_exists(ROOT . DS . APP_DIR . DS . 'Config' . DS . 'bootstrap.php');
require CORE_PATH . 'Cake' . DS . 'bootstrap.php';