A little more work to get rid of the default context.
This commit is contained in:
@@ -190,11 +190,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//set the context
|
//set the context
|
||||||
if (count($_SESSION["domains"]) > 1) {
|
$_SESSION["context"] = $_SESSION["domain_name"];
|
||||||
$_SESSION["context"] = $_SESSION["domain_name"];
|
|
||||||
} else {
|
|
||||||
$_SESSION["context"] = 'default';
|
|
||||||
}
|
|
||||||
|
|
||||||
//recordings add the domain to the path if there is more than one domains
|
//recordings add the domain to the path if there is more than one domains
|
||||||
if (count($_SESSION["domains"]) > 1) {
|
if (count($_SESSION["domains"]) > 1) {
|
||||||
@@ -289,12 +285,7 @@
|
|||||||
$domain_name = $row["domain_name"];
|
$domain_name = $row["domain_name"];
|
||||||
|
|
||||||
//get the context
|
//get the context
|
||||||
if ($domain_count == 1) {
|
$context = $domain_name;
|
||||||
$context = "default";
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$context = $domain_name;
|
|
||||||
}
|
|
||||||
|
|
||||||
//show the domain when display_type is set to text
|
//show the domain when display_type is set to text
|
||||||
if ($display_type == "text") {
|
if ($display_type == "text") {
|
||||||
|
|||||||
Reference in New Issue
Block a user