From cb4dfc4ee0bd0446e7725b9d3f71cdab1c61dcc6 Mon Sep 17 00:00:00 2001 From: mark_story Date: Sun, 14 Nov 2010 11:34:10 -0500 Subject: [PATCH] Changing import() to require, as its a fraction faster. --- app/webroot/index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/webroot/index.php b/app/webroot/index.php index 8763a4f7a..35ebed025 100644 --- a/app/webroot/index.php +++ b/app/webroot/index.php @@ -74,7 +74,7 @@ if (isset($_GET['url']) && $_GET['url'] === 'favicon.ico') { return; } else { - App::import('Core', 'Dispatcher'); + require LIBS . 'dispatcher.php'; $Dispatcher = new Dispatcher(); $Dispatcher->dispatch(new CakeRequest($_GET['url'])); }