From 217e177abf2c6f8c967fa56f764e02eb8f057561 Mon Sep 17 00:00:00 2001 From: phpnut Date: Sun, 26 Jun 2005 17:54:49 +0000 Subject: [PATCH] Put check in index.php if $_GET['url'] is favicon.ico do nothing. This will stop errors of a AppController? trying to be created git-svn-id: https://svn.cakephp.org/repo/trunk/cake@291 3807eeeb-6ff5-0310-8944-8be069107fe0 --- public/index.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/public/index.php b/public/index.php index 064eeee0d..fe895d654 100644 --- a/public/index.php +++ b/public/index.php @@ -79,9 +79,12 @@ if (class_exists('DATABASE_CONFIG')) } //RUN THE SCRIPT -$DISPATCHER = new Dispatcher (); -$DISPATCHER->dispatch($url); - + if($_GET['url'] === 'favicon.ico') + { + }else{ + $DISPATCHER = new Dispatcher (); + $DISPATCHER->dispatch($url); + } //CLEANUP if (DEBUG) echo "";