This ensures that the default settings, and domains settings don't get mixed with from from the previous domain.

This commit is contained in:
Mark Crane 2012-10-16 18:02:17 +00:00
parent 68d02aac1f
commit 28e72f7066
1 changed files with 8 additions and 0 deletions

View File

@ -32,6 +32,14 @@
//set the variable
$db = $this->db;
//clear the sessions
unset($_SESSION['domain']);
unset($_SESSION['email']);
unset($_SESSION['provision']);
unset($_SESSION['security']);
unset($_SESSION['server']);
unset($_SESSION['switch']);
//get the default settings
$sql = "select * from v_default_settings ";
$sql .= "where default_setting_enabled = 'true' ";