File tree Expand file tree Collapse file tree 2 files changed +18
-3
lines changed
Expand file tree Collapse file tree 2 files changed +18
-3
lines changed Original file line number Diff line number Diff line change @@ -7,7 +7,15 @@ Install the plugin with [composer](https://getcomposer.org/) from your CakePHP P
77php composer.phar require cakephp/authentication
88```
99
10- Load the plugin by adding the following statement in your project's ` config/bootstrap.php `
10+ Load the plugin by adding the following statement in your project's ` src/Application.php `
11+ ``` php
12+ public function bootstrap()
13+ {
14+ parent::bootstrap();
15+ $this->addPlugin('Authentication');
16+ }
17+ ```
18+ Prior to 3.6.0
1119``` php
1220Plugin::load('Authentication');
1321```
Original file line number Diff line number Diff line change @@ -27,8 +27,15 @@ php composer.phar require cakephp/authentication
2727```
2828
2929Load the plugin by adding the following statement in your project's
30- ` config/bootstrap.php ` :
31-
30+ ` src/Application.php ` :
31+ ``` php
32+ public function bootstrap()
33+ {
34+ parent::bootstrap();
35+ $this->addPlugin('Authentication');
36+ }
37+ ```
38+ Prior to 3.6.0
3239``` php
3340Plugin::load('Authentication');
3441```
You can’t perform that action at this time.
0 commit comments