Get a new set of default and domain settings for use when http_domain_filter is set to false. Remove debug numbers from access denied messages in provisioning and remove other redundant code.

This commit is contained in:
Mark Crane
2015-03-28 11:37:56 +00:00
parent b166a21f5e
commit 127adbf7a5
2 changed files with 126 additions and 114 deletions

View File

@@ -32,17 +32,6 @@
//set the global variable
global $db;
//clear the sessions
unset($_SESSION['contact']);
unset($_SESSION['domain']);
unset($_SESSION['email']);
unset($_SESSION['ldap']);
unset($_SESSION['login']);
unset($_SESSION['provision']);
unset($_SESSION['security']);
unset($_SESSION['server']);
unset($_SESSION['switch']);
//set the PDO error mode
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);