mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-31 09:06:17 +00:00
"Adding fix for admin being searched in entire string"
git-svn-id: https://svn.cakephp.org/repo/branches/1.2.x.x@3382 3807eeeb-6ff5-0310-8944-8be069107fe0
This commit is contained in:
parent
ba14aac3a0
commit
6cade0a681
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ class Dispatcher extends Object {
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
$__access = strpos($params['action'], CAKE_ADMIN);
|
$__access = strpos($params['action'], CAKE_ADMIN);
|
||||||
if ($__access !== false) {
|
if ($__access === 0) {
|
||||||
$privateAction = true;
|
$privateAction = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue