Welcome Guest, Not a member yet? Register   Sign In
Loading 3rd party libraries
#1

[eluser]mikegioia[/eluser]
Hi Guys -

I was wondering what the best way was to load 3rd party libraries. For example, say I wanted to use MagpieRSS, should that go into the libraries folder which could then be autoloaded? Or is it more of a plug-in and go in the plug-ins directory?

Any help on this would be greatly appreciated.

Thanks,
Mike
#2

[eluser]xwero[/eluser]
Most third party libraries can be used out of the box with CI. Drop them in the application/libraries directory and use them like you would use a CI library. If the library requires a init then you will have to change the construct of the library to take parameters or you could add an initialize method so you can autoload the library.




Theme © iAndrew 2016 - Forum software by © MyBB