mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-11 11:08:24 +00:00
Change the context every time the domains class set method is called.
This commit is contained in:
@@ -111,12 +111,10 @@
|
||||
}
|
||||
|
||||
//set the context
|
||||
if (strlen($_SESSION["context"]) == 0) {
|
||||
if (count($_SESSION["domains"]) > 1) {
|
||||
$_SESSION["context"] = $_SESSION["domain_name"];
|
||||
} else {
|
||||
$_SESSION["context"] = 'default';
|
||||
}
|
||||
if (count($_SESSION["domains"]) > 1) {
|
||||
$_SESSION["context"] = $_SESSION["domain_name"];
|
||||
} else {
|
||||
$_SESSION["context"] = 'default';
|
||||
}
|
||||
|
||||
//recordings add the domain to the path if there is more than one domains
|
||||
|
||||
Reference in New Issue
Block a user