Welcome Guest, Not a member yet? Register   Sign In
Global and Local application dir
#1

[eluser]dafke[/eluser]
Hey guys,

I've just started out with CI, and it looks very very promising.

Have a question though. I'd like to use one CI-installation for all sites/applications, which is no problem at all with CI. However, I also want a global and local application dir. The reason is that I'm going to develop some global modules/controllers, which can be used by all sites/application. Each application will also have it's "private" (local) controllers.

I was hoping to have a dir structure like this :

/home/CI (codeigniter installation dir)
/home/CI/application (the global application dir)
/home/site1/www (site1 www dir)
/home/site1/application (the local application dir)
/home/site2/www (site2 www dir)
/home/site2/application (another local application dir)

So, if possible, CI would look first in the local application dir, if the module is not found, look in global application dir. Is this possible with CI without extending it?

Thanks,
David


Messages In This Thread
Global and Local application dir - by El Forum - 02-08-2009, 10:42 AM
Global and Local application dir - by El Forum - 02-08-2009, 10:45 AM
Global and Local application dir - by El Forum - 02-08-2009, 11:27 AM
Global and Local application dir - by El Forum - 02-08-2009, 11:46 AM



Theme © iAndrew 2016 - Forum software by © MyBB