• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI4 Modules Code not work

#8
You need to define each Modules path like so.

PHP Code:
public $psr4 = ['Modules\Node'  => ROOTPATH.'Modules/Node'];
public 
$psr4 = ['Modules\Auth'  => ROOTPATH.'Modules/Auth'];
public 
$psr4 = ['Modules\Admin' => ROOTPATH.'Modules/Admin']; 
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
CI4 Modules Code not work - by Nome - 05-25-2018, 12:50 AM
RE: CI4 Modules Code not work - by InsiteFX - 05-27-2018, 04:47 AM
RE: CI4 Modules Code not work - by Nome - 05-28-2018, 08:35 AM
RE: CI4 Modules Code not work - by dave friend - 05-27-2018, 06:54 AM
RE: CI4 Modules Code not work - by Nome - 05-28-2018, 08:28 AM
RE: CI4 Modules Code not work - by dave friend - 05-28-2018, 11:03 AM
RE: CI4 Modules Code not work - by Nome - 06-04-2018, 03:51 AM
RE: CI4 Modules Code not work - by InsiteFX - 06-04-2018, 04:23 AM
RE: CI4 Modules Code not work - by Nome - 06-04-2018, 04:40 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.