Temporarily disabling Ajax/bare routes

git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4559 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
nate 2007-02-26 16:51:51 +00:00
parent 9bec5d8ebb
commit 7aea4e5a18

View file

@ -320,8 +320,8 @@ class Router extends Object {
$_this->routes[] = $_this->__admin; $_this->routes[] = $_this->__admin;
$_this->__admin = null; $_this->__admin = null;
} }
$_this->connect('/bare/:controller/:action/*', array('bare' => '1')); //$_this->connect('/bare/:controller/:action/*', array('bare' => '1'));
$_this->connect('/ajax/:controller/:action/*', array('bare' => '1')); //$_this->connect('/ajax/:controller/:action/*', array('bare' => '1'));
if (defined('WEBSERVICES') && WEBSERVICES == 'on') { if (defined('WEBSERVICES') && WEBSERVICES == 'on') {
trigger_error('Deprecated: webservices routes are deprecated and will not be supported in future versions. Use Router::parseExtensions() instead.', E_USER_WARNING); trigger_error('Deprecated: webservices routes are deprecated and will not be supported in future versions. Use Router::parseExtensions() instead.', E_USER_WARNING);