mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 11:28:25 +00:00
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:
parent
9bec5d8ebb
commit
7aea4e5a18
1 changed files with 2 additions and 2 deletions
|
@ -320,8 +320,8 @@ class Router extends Object {
|
|||
$_this->routes[] = $_this->__admin;
|
||||
$_this->__admin = null;
|
||||
}
|
||||
$_this->connect('/bare/:controller/:action/*', array('bare' => '1'));
|
||||
$_this->connect('/ajax/:controller/:action/*', array('bare' => '1'));
|
||||
//$_this->connect('/bare/:controller/:action/*', array('bare' => '1'));
|
||||
//$_this->connect('/ajax/:controller/:action/*', array('bare' => '1'));
|
||||
|
||||
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);
|
||||
|
|
Loading…
Reference in a new issue