Fri Jul 7 16:44:06 PHT 2006 nimrod.abing@gmail.com * Move dispatcher instantiation from webroot/index.php to cake/bootstrap.php. Rationale: This modification will allow the core to modify the dispatcher instantiation process without requiring an update in the client's webroot/index.php. diff -rN -u old-cake/app/webroot/index.php new-cake/app/webroot/index.php --- old-cake/app/webroot/index.php 2006-07-07 21:16:12.000000000 +0800 +++ new-cake/app/webroot/index.php 2006-07-07 21:16:12.000000000 +0800 @@ -76,11 +76,6 @@ } } require CORE_PATH . 'cake' . DS . 'bootstrap.php'; - if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { - } else { - $Dispatcher=new Dispatcher(); - $Dispatcher->dispatch($url); - } if (DEBUG) { echo ""; } diff -rN -u old-cake/cake/bootstrap.php new-cake/cake/bootstrap.php --- old-cake/cake/bootstrap.php 2006-07-07 21:16:12.000000000 +0800 +++ new-cake/cake/bootstrap.php 2006-07-07 21:16:12.000000000 +0800 @@ -115,4 +115,10 @@ $view->renderCache(CACHE . 'views' . DS . convertSlash($uri) . '_index.php', $TIME_START); } } + + if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { + } else { + $Dispatcher = new Dispatcher(); + $Dispatcher->dispatch($url); + } ?> \ No newline at end of file diff -rN -u old-cake/cake/scripts/templates/skel/webroot/index.php new-cake/cake/scripts/templates/skel/webroot/index.php --- old-cake/cake/scripts/templates/skel/webroot/index.php 2006-07-07 21:16:12.000000000 +0800 +++ new-cake/cake/scripts/templates/skel/webroot/index.php 2006-07-07 21:16:12.000000000 +0800 @@ -76,11 +76,6 @@ } } require CORE_PATH . 'cake' . DS . 'bootstrap.php'; - if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { - } else { - $Dispatcher=new Dispatcher(); - $Dispatcher->dispatch($url); - } if (DEBUG) { echo ""; }