summaryrefslogtreecommitdiff
path: root/src/SemanticScuttle/constants.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/SemanticScuttle/constants.php')
-rw-r--r--src/SemanticScuttle/constants.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/SemanticScuttle/constants.php b/src/SemanticScuttle/constants.php
index e37f41c..95c4384 100644
--- a/src/SemanticScuttle/constants.php
+++ b/src/SemanticScuttle/constants.php
@@ -11,10 +11,7 @@ if(isset($GLOBALS['debugMode'])) {
}
// Determine the base URL as ROOT
-if (!isset($_SERVER['HTTP_HOST'])) {
- //not set in unit tests
- define('ROOT', 'http://localhost/');
-} else if (!isset($GLOBALS['root'])) {
+if (!isset($GLOBALS['root'])) {
$pieces = explode('/', $_SERVER['SCRIPT_NAME']);
$rootTmp = '/';