i’ve a problem in auto-loading the doctrine 2 with codeigniter 2.1.0,
i was following this tutorial
http://www.phpandstuff.com/articles/codeigniter-doctrine-from-scratch-day-1-install-and-setup
i was supposed to open the autoload.php file and load the doctrine like this :
$autoload['plugin'] = array('doctrine');
but the problem is that there is no $autoload[‘plugin’] = array(); in my autoload.php
so how to load the doctrine ?
That phpandstuff article is too old and for doctrine1. Use this for CI2 and Doctrine2
https://github.com/rubensarrio/codeigniter-hmvc-doctrine
you need to setup a library class and setup doctrine classloader.