Welcome Guest, Not a member yet? Register   Sign In
Creating Sub-Folders in application/library
#1

[eluser]Unknown[/eluser]
hello just want to ask if its possible to add a sub-folder inside application/library. I want to be able to arrange my libraries inside this folder.

Example:

application

|_ library
|_ package1
|_ class1.php
|_ class2.php
|_ package2
|_ class3.php

and how will i call this from the controller? is it via
$this->load->library('package1/class1');
#2

[eluser]James Bolongan[/eluser]
Yup, that's correct. :-)




Theme © iAndrew 2016 - Forum software by © MyBB