How to change Controllers/Models source directory in CodeIgniter

Posted by Ady Mareshal on Stack Overflow See other posts from Stack Overflow or by Ady Mareshal
Published on 2010-06-16T19:21:47Z Indexed on 2010/06/16 22:02 UTC
Read the original article Hit count: 269

Filed under:
|
|

I need to load controllers and models from a different folder than the default one. I am using a Linux system.

I am building a simple CI application for some people, for use on a shared hosting I own. But I want to give them access only to /views folder and some /config files. And this is why I need to store the controllers and models in a different folder on the same level as /public_html folder or maybe somewhere in the linux system.

I consider this would be a better solution than encoding files

© Stack Overflow or respective owner

Related posts about codeigniter

Related posts about models