Skip to content

Commit

Permalink
Add a note about $boot
Browse files Browse the repository at this point in the history
  • Loading branch information
dereuromark committed Nov 26, 2016
1 parent 43aa5dd commit 02df9ff
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/Cake/Console/ShellDispatcher.php
Expand Up @@ -139,6 +139,8 @@ protected function _bootstrap() {
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';

Expand Down

0 comments on commit 02df9ff

Please sign in to comment.