• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CI4 - Module not working

#4
I posted this in the other forum topic but I will also paste it here.

PHP Code:
namespace acp/Blog

$psr4 
= [
    'App'         => APPPATH,                     // To ensure filters, etc still found,
    APP_NAMESPACE => APPPATH,                     // For custom namespace
    'Config'      => APPPATH 'Config',          // Config namespace
    'acp\Blog'    => ROOTPATH.'acp\Blog',         // Acp Blog module
]; 

You need to setup your Config/Autoload.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply


Messages In This Thread
CI4 - Module not working - by tmtuan - 03-10-2020, 04:10 AM
RE: CI4 - Module not working - by tmtuan - 03-12-2020, 09:22 PM
RE: CI4 - Module not working - by aybarsm - 03-13-2020, 01:38 AM
RE: CI4 - Module not working - by InsiteFX - 03-13-2020, 04:41 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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