Merge pull request #607 from jnrbsn/remove-bad-path-info-code

Remove bad path info code
This commit is contained in:
Mark Story 2012-04-17 17:42:39 -07:00
commit be38058586

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