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

[eluser]Adrian Walls[/eluser]
There shouldn't be. My composer.json file is at the web root level and so is the CI application folder.

What exactly is happening when you do this? How are you including the composer autoload.php file?

I've added the following to index.php:

Code:
/*
* --------------------------------------------------------------------
* COMPOSER AUTOLOAD
* --------------------------------------------------------------------
*/
include_once './vendor/autoload.php';

just before:

Code:
/*
* --------------------------------------------------------------------
* LOAD THE BOOTSTRAP FILE
* --------------------------------------------------------------------
*
* And away we go...
*
*/
require_once BASEPATH.'core/CodeIgniter.php';


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