Directory placement |
[eluser]HeartlandTech[/eluser]
I'm working on creating an application, I'm using the CodeIgniter structure, but instead of having an individual project for each application, I'm using the following structure: ---> CodeIgniter ---> Applications ---> AppName_DEV ---> AppName_PROD ---> AppName_TEST The index.php file decides based on the URL what application base to use: Code: // Just add to this to determine the live URL's for the site. What I'm looking for a way to do is to handle where the /images,/css,/js can live without interferring with the directory structure. Right now I have everything in the main codeigniter area, but any changes are reflected immediately in all three environments. (http://myappname/images/new_logo.jpg for example.) I want the referenced files to be under their respective application directory. Any ideas? |
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
|