Update domains.php

This commit is contained in:
FusionPBX
2023-05-12 20:32:44 -06:00
committed by GitHub
parent a4fddc7897
commit ff2c52eda8
+3 -1
View File
@@ -17,7 +17,7 @@
The Initial Developer of the Original Code is The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com> Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2022 Portions created by the Initial Developer are Copyright (C) 2008-2023
the Initial Developer. All Rights Reserved. the Initial Developer. All Rights Reserved.
Contributor(s): Contributor(s):
@@ -585,8 +585,10 @@ if (!class_exists('domains')) {
} }
//set the context //set the context
if (!empty($_SESSION["domain_name"])) {
$_SESSION["context"] = $_SESSION["domain_name"]; $_SESSION["context"] = $_SESSION["domain_name"];
} }
}
/** /**
* upgrade application defaults * upgrade application defaults