From 7aea4e5a181cab7bce2b033d7c74c28c6137b779 Mon Sep 17 00:00:00 2001 From: nate Date: Mon, 26 Feb 2007 16:51:51 +0000 Subject: [PATCH] Temporarily disabling Ajax/bare routes git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@4559 3807eeeb-6ff5-0310-8944-8be069107fe0 --- cake/libs/router.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cake/libs/router.php b/cake/libs/router.php index 58341d45e..fde80e620 100644 --- a/cake/libs/router.php +++ b/cake/libs/router.php @@ -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);