Welcome Guest, Not a member yet? Register   Sign In
Store codeigniter libraries in sub folders
#1

Is it possible to store libraries in sub folders in codeigniter? For example would something like this work?

-libraries
---sub_folder1
-----someClass.php
---sub_filder2
-----someClass2.php
If it does how should I load and use these libraries?
Reply
#2

Yes, but you will need to give them the path when loading them.

ie: $lib = \libraries\sub_folder1\lib_name;
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB