Welcome Guest, Not a member yet? Register   Sign In
Directory placement
#3

[eluser]HeartlandTech[/eluser]
Doing things this way leaves the main codeigniter branch clean and just allows you to update the applications directory . . which it was my understanding of how the CI structure was designed to work. I have things setup like this so that I don't have to worry about pointing one to another, my code figures out what the request URL was and uses the right directory structure and database.

I think I figured a way around this:

define('APPASSETS', '/' . APPPATH . "assets/");

So then my structure looks like this:

—-> CodeIgniter
—-> Applications
—-> AppName_DEV
--> assets
--> images
--> css
--> js
—-> AppName_PROD
--> assets
--> images
--> css
--> js
—-> AppName_TEST
--> assets
--> images
--> css
--> js


Messages In This Thread
Directory placement - by El Forum - 01-16-2009, 02:55 PM
Directory placement - by El Forum - 01-16-2009, 04:45 PM
Directory placement - by El Forum - 01-16-2009, 06:20 PM
Directory placement - by El Forum - 01-16-2009, 08:00 PM
Directory placement - by El Forum - 01-16-2009, 09:47 PM



Theme © iAndrew 2016 - Forum software by © MyBB