Skip to content

Commit

Permalink
Correcting forcing of debug = 1 in console. Updating order of bootstr…
Browse files Browse the repository at this point in the history
…apping to match the one used for web requests. Fixes #366
  • Loading branch information
markstory committed Feb 21, 2010
1 parent 7075aa5 commit 8ce9560
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions cake/console/cake.php
Expand Up @@ -264,14 +264,10 @@ function __bootstrap() {
}
}

Configure::getInstance(file_exists(CONFIGS . 'bootstrap.php'));

if (!file_exists(APP_PATH . 'config' . DS . 'core.php')) {
include_once CORE_PATH . 'cake' . DS . 'console' . DS . 'templates' . DS . 'skel' . DS . 'config' . DS . 'core.php';
App::build();
}

Configure::write('debug', 1);
Configure::getInstance(file_exists(CONFIGS . 'bootstrap.php'));
return true;
}

Expand Down

0 comments on commit 8ce9560

Please sign in to comment.