Skip to content

Commit

Permalink
Integrating the ConsoleErrorHandler into the console environment.
Browse files Browse the repository at this point in the history
  • Loading branch information
markstory committed Sep 2, 2010
1 parent 60e4466 commit a44b353
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cake/console/cake.php
Expand Up @@ -257,6 +257,8 @@ function __bootstrap() {

$boot = file_exists(ROOT . DS . APP_DIR . DS . 'config' . DS . 'bootstrap.php');
require CORE_PATH . 'cake' . DS . 'bootstrap.php';
require CORE_PATH . 'cake' . DS . 'console' . DS . 'console_error_handler.php';
set_exception_handler(array('ConsoleErrorHandler', 'handleException'));

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';
Expand Down

0 comments on commit a44b353

Please sign in to comment.