Welcome Guest, Not a member yet? Register   Sign In
Libraries Question
#1

[eluser]seth.aldridge[/eluser]
Hi,

I'm really new to CodeIgniter and PHP...and loving the hell out of it.

Here is my question. Being fauxCD I want to keep all my libraries nested in their own folders. My question is can I do something like this:

Code:
$this->load->library('MyFolder/Someclass');

There are several classes in my library and they are all related to one central library folder...if I could keep it that way I would love it.

Thanks,
Seth

p.s. - I would normally just run the code and see what happens but at my day job I can't FTP Smile
#2

[eluser]John Pantoja[/eluser]
If I think what I read is what I read then I would say yes as it makes sense and so far CI has impressed me with its common sense.
#3

[eluser]Tom Schlick[/eluser]
yes, you can do this.




Theme © iAndrew 2016 - Forum software by © MyBB