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
This commit is contained in:
phpnut 2005-06-26 17:54:49 +00:00
parent 975e0b3755
commit 217e177abf

View file

@ -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 "<!-- ". round(getMicrotime() - $TIME_START, 2) ."s -->";