Permalink
Browse files

Mostly reverting changes made in [8ce9560]. Using a console like proj…

…ect bake from outside a cake app no longer causes errors from Configure. Fixes #387
  • Loading branch information...
markstory committed Feb 25, 2010
1 parent 9632e74 commit 585f731ae2e0632da56756fd491b616aacd9142e
Showing with 4 additions and 1 deletion.
  1. +4 −1 cake/console/cake.php
View
@@ -264,10 +264,13 @@ 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::getInstance(file_exists(CONFIGS . 'bootstrap.php'));
+
return true;
}

0 comments on commit 585f731

Please sign in to comment.