Set the user_context on an extension to the domain name.
This commit is contained in:
@@ -780,8 +780,6 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
if (strlen($limit_max) == 0) { $limit_max = '5'; }
|
if (strlen($limit_max) == 0) { $limit_max = '5'; }
|
||||||
if (strlen($call_timeout) == 0) { $call_timeout = '30'; }
|
if (strlen($call_timeout) == 0) { $call_timeout = '30'; }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//begin the page content
|
//begin the page content
|
||||||
require_once "resources/header.php";
|
require_once "resources/header.php";
|
||||||
if ($action == "update") {
|
if ($action == "update") {
|
||||||
@@ -1576,12 +1574,7 @@ if (count($_POST) > 0 && strlen($_POST["persistformvar"]) == 0) {
|
|||||||
|
|
||||||
if (if_group("superadmin")) {
|
if (if_group("superadmin")) {
|
||||||
if (strlen($user_context) == 0) {
|
if (strlen($user_context) == 0) {
|
||||||
if (count($_SESSION["domains"]) > 1) {
|
$user_context = $_SESSION['domain_name'];
|
||||||
$user_context = $_SESSION['domain_name'];
|
|
||||||
}
|
|
||||||
else {
|
|
||||||
$user_context = "default";
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
echo "<tr>\n";
|
echo "<tr>\n";
|
||||||
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
echo "<td class='vncellreq' valign='top' align='left' nowrap='nowrap'>\n";
|
||||||
|
|||||||
Reference in New Issue
Block a user