Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 8ce9560f4107125a0b4b8128ee5f9c51c86e3179 1 parent 7075aa5
@markstory markstory authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 cake/console/cake.php
View
6 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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.