Bug Fix: Use the HTTP_HOST if the domain_uuid is empty
This commit is contained in:
@@ -177,7 +177,7 @@
|
|||||||
unset($sql, $parameters);
|
unset($sql, $parameters);
|
||||||
|
|
||||||
//get the domain_name and domain_uuid
|
//get the domain_name and domain_uuid
|
||||||
if ($_SESSION['provision']['http_domain_filter']['boolean'] == "true") {
|
if (empty($domain_uuid)) {
|
||||||
//get the domain_name
|
//get the domain_name
|
||||||
$domain_array = explode(":", $_SERVER["HTTP_HOST"]);
|
$domain_array = explode(":", $_SERVER["HTTP_HOST"]);
|
||||||
$domain_name = $domain_array[0];
|
$domain_name = $domain_array[0];
|
||||||
@@ -531,5 +531,3 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user