Welcome Guest, Not a member yet? Register   Sign In
Form actions
#11

[eluser]jwindhorst[/eluser]
Given that scenario, I suppose it could cause some problems, but:
A) I find it suspect to assume that your domain doesn't have it's own document_root at /mydomain/app/
and
B) You should be able to adjust for that by making a change to your config like below:
Code:
if($_SERVER['HTTP_HOST'] == "sharedserver.com")
  $config['base_url'] = "http://sharedserver.com/app/";
else
  $config['base_url'] = "http://dedicatedserver.com/";

Granted, you've made your point and without testing it this is just theory, but I do think something like the above would fix the problem your describing dynamically upon moving the code.


Messages In This Thread
Form actions - by El Forum - 11-29-2008, 10:11 PM
Form actions - by El Forum - 11-29-2008, 10:50 PM
Form actions - by El Forum - 11-30-2008, 05:00 PM
Form actions - by El Forum - 12-01-2008, 12:30 AM
Form actions - by El Forum - 01-08-2009, 11:42 AM
Form actions - by El Forum - 01-08-2009, 11:47 AM
Form actions - by El Forum - 01-08-2009, 12:56 PM
Form actions - by El Forum - 01-08-2009, 01:02 PM
Form actions - by El Forum - 01-08-2009, 01:21 PM
Form actions - by El Forum - 01-08-2009, 02:27 PM
Form actions - by El Forum - 01-08-2009, 02:58 PM
Form actions - by El Forum - 01-08-2009, 03:05 PM
Form actions - by El Forum - 01-08-2009, 03:15 PM
Form actions - by El Forum - 01-08-2009, 03:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB