Updating console bootstrap process.

This commit is contained in:
mark_story 2010-07-04 22:03:25 -04:00
parent b2351ef3c9
commit 2fee0b5b63
2 changed files with 3 additions and 3 deletions

View file

@ -265,7 +265,7 @@ class ShellDispatcher {
}
}
Configure::getInstance(file_exists(CONFIGS . 'bootstrap.php'));
Configure::bootstrap(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';

View file

@ -48,11 +48,11 @@ class Configure extends Object {
*
* @return void
*/
public static function bootstrap() {
public static function bootstrap($boot = true) {
if (!class_exists('Set')) {
require LIBS . 'set.php';
}
self::__loadBootstrap(true);
self::__loadBootstrap($boot);
}
/**