PATH_INFO never gets used.

See <http://github.com/cakephp/cakephp/pull/606> for discussion.
This commit is contained in:
Jonathan Robson 2012-04-12 23:13:57 -05:00
parent fec704ca8c
commit a10093d2af

View file

@ -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();