mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
parent
645e981cf2
commit
fec6c1c6cb
1 changed files with 4 additions and 0 deletions
|
@ -205,6 +205,10 @@ class SecurityComponent extends Component {
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
public function startup(Controller $controller) {
|
public function startup(Controller $controller) {
|
||||||
|
if ($controller->name == 'CakeError') {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
$this->request = $controller->request;
|
$this->request = $controller->request;
|
||||||
$this->_action = $this->request->params['action'];
|
$this->_action = $this->request->params['action'];
|
||||||
$this->_methodsRequired($controller);
|
$this->_methodsRequired($controller);
|
||||||
|
|
Loading…
Add table
Reference in a new issue