Skip to content
Snippets Groups Projects
Commit 70af42a6 authored by Tim Steiner's avatar Tim Steiner
Browse files

[gh-76] Merging from testing into staging

git-svn-id: file:///tmp/wdn_thm_drupal/branches/drupal-7.x/staging@451 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent dbd9eead
No related branches found
No related tags found
No related merge requests found
......@@ -39,6 +39,11 @@ function unl_bootstrap() {
$previous_script_name = $_SERVER['SCRIPT_NAME'];
}
if (isset($_SERVER['HTTP_X_FORWARDED_HOST']) && isset($_SERVER['HTTP_X_FORWARDED_PATH'])) {
$GLOBALS['base_url'] = 'http://' . $_SERVER['HTTP_X_FORWARDED_HOST'] . $_SERVER['HTTP_X_FORWARDED_PATH'];
$GLOBALS['cookie_domain'] = $_SERVER['HTTP_X_FORWARDED_HOST'];
}
conf_path(TRUE, TRUE);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment