mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-18 18:46:17 +00:00
Adding regular expression tests for route matching
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@5930 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
9885e2d253
commit
458bd08027
1 changed files with 0 additions and 3 deletions
|
@ -204,9 +204,6 @@ class Router extends Object {
|
|||
function connect($route, $default = array(), $params = array()) {
|
||||
$_this =& Router::getInstance();
|
||||
$admin = Configure::read('Routing.admin');
|
||||
|
||||
if ($admin && $default == null && $route == $admin) {
|
||||
}
|
||||
$default = am(array('plugin' => null, 'controller' => null, 'action' => null), $default);
|
||||
|
||||
if (!empty($default) && empty($default['action'])) {
|
||||
|
|
Loading…
Add table
Reference in a new issue