mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user