Welcome Guest, Not a member yet? Register   Sign In
base_url really necessary?
#4

[eluser]Kamarg[/eluser]
For your config settings you can always do an if/else or switch on $_SERVER['HTTP_HOST'] to distinguish which connection settings to use for dev and live environments. That way you don't need to ignore your config folder at all. Same goes for error_reporting in index.php. I've been using this method for my config files for the better part of a year without running into any issues.


Messages In This Thread
base_url really necessary? - by El Forum - 06-16-2010, 02:28 AM
base_url really necessary? - by El Forum - 06-16-2010, 03:13 AM
base_url really necessary? - by El Forum - 06-16-2010, 03:22 AM
base_url really necessary? - by El Forum - 06-16-2010, 08:39 AM
base_url really necessary? - by El Forum - 06-16-2010, 09:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB