Welcome Guest, Not a member yet? Register   Sign In
I do not like CI directory structure!
#12

[eluser]bcorcoran[/eluser]
Wait wait wait...

Can't you just edit the index.php and change the following two values?

Code:
$system_folder = "system";
Code:
$application_folder = "application";

Like, lets say I had /var/www/vhosts/domain.com and /var/www/vhosts/example.com

I could store CI in /var/www/codeigniter

and have my application folder and an index.php in the two website folders... they'd both access the same CI base install, but have their own application structure... and on top of that they'd be pretty secure since the system dir is outside of the web root (assuming /var/www isn't the actual web root).

Am I missing something here?


Messages In This Thread
I do not like CI directory structure! - by El Forum - 04-07-2008, 10:18 PM
I do not like CI directory structure! - by El Forum - 04-07-2008, 10:30 PM
I do not like CI directory structure! - by El Forum - 04-07-2008, 11:21 PM
I do not like CI directory structure! - by El Forum - 04-07-2008, 11:33 PM
I do not like CI directory structure! - by El Forum - 04-08-2008, 12:26 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 12:27 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 12:51 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 02:35 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 02:44 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 02:45 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 03:00 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 11:58 AM
I do not like CI directory structure! - by El Forum - 04-08-2008, 12:25 PM
I do not like CI directory structure! - by El Forum - 04-09-2008, 07:05 AM



Theme © iAndrew 2016 - Forum software by © MyBB