Welcome Guest, Not a member yet? Register   Sign In
Composer breaks exisiting autoload in Codeigniter
#3

[eluser]Adrian Walls[/eluser]
I had the very same issue the other day. Remove the lines relating to autoload above and add the following to your composer.json file:

Code:
"autoload": {
  "classmap": ["application/core"]
},

Also, don't forget to add the composer autoload file to your CI bootstrap file.


Messages In This Thread
Composer breaks exisiting autoload in Codeigniter - by El Forum - 04-03-2013, 07:58 PM
Composer breaks exisiting autoload in Codeigniter - by El Forum - 04-03-2013, 10:22 PM
Composer breaks exisiting autoload in Codeigniter - by El Forum - 04-04-2013, 03:29 AM
Composer breaks exisiting autoload in Codeigniter - by El Forum - 04-04-2013, 06:26 AM
Composer breaks exisiting autoload in Codeigniter - by El Forum - 04-04-2013, 06:26 AM
Composer breaks exisiting autoload in Codeigniter - by El Forum - 04-04-2013, 07:06 AM



Theme © iAndrew 2016 - Forum software by © MyBB