Welcome Guest, Not a member yet? Register   Sign In
How do I connect to a folder outside the "application"
#1

[eluser]Unknown[/eluser]
How do I connect to a folder outside or inside the "application"
Example
system folder
->application folder

--->controllers folder

--->models folder

--->views folder

--->modules folder
------->news folder
---------->controllers folder
---------->models folder
---------->views folder


How can I contact modules folder, which contains more than one folder and every folder to controllers and models and views
#2

[eluser]allaerd[/eluser]
i think you mixe something up. In the module folder you should put modules. So better would be:

--> controllers
---->news
------>news controllers

-->modules
---->news
------>news modules

-->views
---->news
------>news views


If you want all the news together you can better copy youre application folder.

and if you want to load for example the module you do:
Code:
$this->load->model('news/Model_name');




Theme © iAndrew 2016 - Forum software by © MyBB