Advertisement
Guest User

Untitled

a guest
Feb 20th, 2017
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.47 KB | None | 0 0
  1.   public function initialize()
  2.     {
  3.         parent::initialize();
  4.  
  5.         $this->loadComponent('RequestHandler');
  6.         $this->loadComponent('Flash');
  7.         $this->loadComponent('Auth', [
  8.             'loginRedirect' => [
  9.                 'controller' => 'Usuarios',
  10.                 'action' => 'index'
  11.             ],
  12.             'logoutRedirect' => [
  13.                 'controller' => 'Pages',
  14.                 'action' => 'login',
  15.                 'home'
  16.             ]
  17.         ]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement