Skip to content
Permalink
Browse files

Moving dispatcher include so that cake/bootstrap.php is only bootstra…

…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 81e6ca22490a2b4b560f2e1a0b160b83d5fee20d
Showing with 2 additions and 1 deletion.
  1. +1 −0 app/webroot/index.php
  2. +1 −1 cake/bootstrap.php
@@ -79,6 +79,7 @@
if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') {
return;
} else {
require CAKE . 'dispatcher.php';
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch();
}
@@ -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.
You can’t perform that action at this time.