Change the indentation. Add a conditional include.

This commit is contained in:
markjcrane 2015-07-28 10:42:07 -06:00
parent e255e7eb0c
commit 3f4a674364
1 changed files with 27 additions and 18 deletions

View File

@ -91,6 +91,8 @@ require_once "resources/require.php";
}
}
}
//set the domain parent uuid
$_SESSION['domain_parent_uuid'] = $_SESSION["domain_uuid"];
}
//get the username or key
@ -287,6 +289,7 @@ require_once "resources/require.php";
exit;
}
else {
//set the user settings
foreach ($result as &$row) {
//allow the user to choose a template only if the template has not been assigned by the superadmin
if (strlen($_SESSION['domain']['template']['name']) == 0) {
@ -390,6 +393,12 @@ require_once "resources/require.php";
exit();
}
}
//get the domains
if (file_exists($_SERVER['DOCUMENT_ROOT'].PROJECT_PATH."/app/domains/app_config.php")){
require_once "app/domains/resources/domains.php";
}
}
//set the time zone