Change the context every time the domains class set method is called.
This commit is contained in:
@@ -111,12 +111,10 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//set the context
|
//set the context
|
||||||
if (strlen($_SESSION["context"]) == 0) {
|
if (count($_SESSION["domains"]) > 1) {
|
||||||
if (count($_SESSION["domains"]) > 1) {
|
$_SESSION["context"] = $_SESSION["domain_name"];
|
||||||
$_SESSION["context"] = $_SESSION["domain_name"];
|
} else {
|
||||||
} else {
|
$_SESSION["context"] = 'default';
|
||||||
$_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
|
||||||
|
|||||||
Reference in New Issue
Block a user