Changing import() to require, as its a fraction faster.

This commit is contained in:
mark_story 2010-11-14 11:34:10 -05:00
parent afd2683602
commit cb4dfc4ee0

View file

@ -74,7 +74,7 @@
if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') {
return; return;
} else { } else {
App::import('Core', 'Dispatcher'); require LIBS . 'dispatcher.php';
$Dispatcher = new Dispatcher(); $Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest($_GET['url'])); $Dispatcher->dispatch(new CakeRequest($_GET['url']));
} }