Skip to content

Commit

Permalink
Moving dispatcher include so that cake/bootstrap.php is only bootstra…
Browse files Browse the repository at this point in the history
…pping the framework. This should allow reusing the bootstrap file for console and web once console error handler is fixed.
  • Loading branch information
markstory committed Sep 2, 2010
1 parent d6b43c0 commit 81e6ca2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions app/webroot/index.php
Expand Up @@ -79,6 +79,7 @@
if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') {
return;
} else {
require CAKE . 'dispatcher.php';
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch();
}
2 changes: 1 addition & 1 deletion cake/bootstrap.php
Expand Up @@ -36,4 +36,4 @@
set_exception_handler(array('ErrorHandler', 'handleException'));

Configure::bootstrap();
require CAKE . 'dispatcher.php';

0 comments on commit 81e6ca2

Please sign in to comment.