Codeigniter and Composer psr-4 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forumdisplay.php?fid=5) +--- Forum: Libraries & Helpers (https://forum.codeigniter.com/forumdisplay.php?fid=11) +--- Thread: Codeigniter and Composer psr-4 (/showthread.php?tid=67604) Pages:
1
2
|
RE: Codeigniter and Composer psr-4 - Narf - 03-16-2017 (03-16-2017, 04:51 AM)llebkered Wrote: There are 2 ways. One is a simple change to your config. The other is including a link in your index.php. Changing the config is the best because it doensn't breaak the coding commandment: "Thou shalt not hack thine core". index.php is not "core" ... you can modify it freely as long as you don't break the logic. I only meant that including the autoloader there isn't really necessary. |