Permalink
Browse files

Correcting forcing of debug = 1 in console. Updating order of bootstr…

…apping to match the one used for web requests. Fixes #366
  • Loading branch information...
1 parent 7075aa5 commit 8ce9560f4107125a0b4b8128ee5f9c51c86e3179 @markstory markstory committed Feb 21, 2010
Showing with 1 addition and 5 deletions.
  1. +1 −5 cake/console/cake.php
@@ -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;
}

0 comments on commit 8ce9560

Please sign in to comment.