This is just a repackage of mindplay-dk's GAutoloader https://gist.github.com/4234540
Tested with Yii 1.1.13
Extract under /protected/extensions/
//Add to config/main.php //Add to Extensions 'import'=>array(... 'application.extensions.gautoloader.*' ...), //Add to Components 'components'=>array( .... 'autoloader'=>array( 'class'=>'ext.gautoloader.EAutoloader' ), ....), //Your Application //Usage Yii::app()->autoloader->getAutoloader()->addNamespace('Yournamespace\goes\here', '/path/to/namespace');
Thank mindplay-dk for this fix. https://gist.github.com/4234540
Total 1 comment
In EAutoloader I added:
Leave a comment
Please login to leave your comment.