Welcome Guest, Not a member yet? Register   Sign In
Where to put this 3rd party PHP package?
#2

[eluser]Watermark Studios[/eluser]
I would put it into the plugins folder. Stick the library folder in the /system/application/plugins folder. Then create a file in the plugins folder called colorjizz_pi.php.

Then you have to point that file to the library class. Something like:
Code:
<?php
require_once APPPATH.'/plugins/colorjizz/colorjizz.php';

Then you could set the plugins array of your autoload file to:
Code:
$autoload['plugin'] = array('colorjizz');

I'm not exactly sure how the ColorJizz framework is set up, but I'm sure it has a library class that allows you to access it. You should be able to extend or access your ColorJizz classes from anywhere in your CI application after this.

Thanks,

Ken


Messages In This Thread
Where to put this 3rd party PHP package? - by El Forum - 10-19-2010, 02:20 AM
Where to put this 3rd party PHP package? - by El Forum - 10-19-2010, 03:39 AM
Where to put this 3rd party PHP package? - by El Forum - 10-19-2010, 03:42 AM
Where to put this 3rd party PHP package? - by El Forum - 10-19-2010, 04:01 AM
Where to put this 3rd party PHP package? - by El Forum - 10-19-2010, 10:36 AM
Where to put this 3rd party PHP package? - by El Forum - 10-19-2010, 10:29 PM
Where to put this 3rd party PHP package? - by El Forum - 10-20-2010, 03:07 AM
Where to put this 3rd party PHP package? - by El Forum - 10-20-2010, 11:08 AM
Where to put this 3rd party PHP package? - by El Forum - 10-20-2010, 12:35 PM
Where to put this 3rd party PHP package? - by El Forum - 10-20-2010, 12:54 PM



Theme © iAndrew 2016 - Forum software by © MyBB