From bd8cc44767b321bcccc9996cf3e244e0ca1af65a Mon Sep 17 00:00:00 2001 From: Xavier Perez Date: Mon, 28 Mar 2022 16:58:14 +0200 Subject: [PATCH] Update README.md --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index f0c583c..666c0bb 100644 --- a/README.md +++ b/README.md @@ -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' , ]; ```