mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
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:
parent
975e0b3755
commit
217e177abf
1 changed files with 6 additions and 3 deletions
|
@ -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 -->";
|
||||
|
||||
|
|
Loading…
Reference in a new issue