File tree Expand file tree Collapse file tree 1 file changed +25
-0
lines changed
Expand file tree Collapse file tree 1 file changed +25
-0
lines changed Original file line number Diff line number Diff line change 11# Upgrade Guide
22
3+ ## Version 1.0.0-beta.7 to 1.0.0-beta.8
4+
5+ ### Mandatory Config Changes
6+
7+ #### Helper Autoloading
8+
9+ Helper autoloading has been changed to be done by CodeIgniter's autoloader
10+ instead of Composer.
11+
12+ So you need to update the settings. Run ` php spark shield:setup ` again, and the
13+ following steps will be done.
14+
15+ 1 . Add ` auth ` and ` setting ` to the ` $helpers ` array in ** app/Config/Autoload.php** :
16+
17+ ``` php
18+ public $helpers = ['auth', 'setting'];
19+ ```
20+
21+ 2. Remove the following code in the `initController()` method in
22+ `**app/Controllers/BaseController.php**:
23+
24+ ```php
25+ $this->helpers = array_merge($this->helpers, ['setting']);
26+ ```
27+
328## Version 1.0.0-beta.6 to 1.0.0-beta.7
429
530### The minimum CodeIgniter version
You can’t perform that action at this time.
0 commit comments