Welcome Guest, Not a member yet? Register   Sign In
SVN and deployment methods
#3

[eluser]Grahack[/eluser]
I like to detect the server:
Code:
$active_group = $_SERVER['HTTP_HOST']=='mysite.local'?"local":"distant";
...
Code:
$config['base_url']    = 'http://mysite.'.($_SERVER['HTTP_HOST']=='mysite.local'?"local/":"com/");
To me it's not related to SVN. I use sitecopy to upload files on the server. There are some interesting posts about using subversion (for example its hooks to checkout the code after a commit in the web directory).


Messages In This Thread
SVN and deployment methods - by El Forum - 02-11-2008, 03:49 PM
SVN and deployment methods - by El Forum - 02-11-2008, 04:33 PM
SVN and deployment methods - by El Forum - 02-13-2008, 02:30 PM



Theme © iAndrew 2016 - Forum software by © MyBB