Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 648 Bytes

6.x-7.0.md

File metadata and controls

18 lines (14 loc) · 648 Bytes

Migration 6.x to 7.0

7.0 is compatible with CakePHP ^3.6 and the plugin code was updated to remove all deprecations.

  • Add 'enableBeforeRedirect' configuration option to RequestHandler component load in your src/Controller/AppController.php file
    public function initialize()
    {
        parent::initialize();

        // Important: add the 'enableBeforeRedirect' config or or disable deprecation warnings
        $this->loadComponent('RequestHandler', ['enableBeforeRedirect' => false]);
        $this->loadComponent('Flash');                
        $this->loadComponent('CakeDC/Users.UsersAuth');
    }