Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
XXPerez committed Mar 28, 2022
1 parent ff0e3a7 commit bd8cc44
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ http://localhost/codeigniter4modular


### More about modular configuration
All modules will reside under /app/Modules, but can be allocated elsewhere.
All modules will reside under /Modules, but can be allocated elsewhere.
When your create a module, edit /app/Config/Autoload.php and add your module to the PSR4, to be able to be found.
```php
public $psr4 = [
APP_NAMESPACE => APPPATH, // For custom app namespace
'Config' => APPPATH . 'Config',
APP_NAMESPACE.'\Controllers' => APPPATH.'Controllers',
'Dashboard' => APPPATH . 'Modules\Dashboard' ,
'Users' => APPPATH . 'Modules\Users' ,
'Dashboard' => APPPATH . '../Modules\Dashboard' ,
'Users' => APPPATH . '../Modules\Users' ,
];
```

Expand Down

0 comments on commit bd8cc44

Please sign in to comment.