Skip to content

Commit

Permalink
PATH_INFO never gets used.
Browse files Browse the repository at this point in the history
  • Loading branch information
jnrbsn committed Apr 13, 2012
1 parent fec704c commit a10093d
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions app/webroot/index.php
Expand Up @@ -86,10 +86,6 @@
trigger_error("CakePHP core could not be found. Check the value of CAKE_CORE_INCLUDE_PATH in APP/webroot/index.php. It should point to the directory containing your " . DS . "cake core directory and your " . DS . "vendors root directory.", E_USER_ERROR);
}

if (isset($_SERVER['PATH_INFO']) && $_SERVER['PATH_INFO'] == '/favicon.ico') {
return;
}

App::uses('Dispatcher', 'Routing');

$Dispatcher = new Dispatcher();
Expand Down

0 comments on commit a10093d

Please sign in to comment.