mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Add to the schema class and adjust the db connection obect in the domains class
This commit is contained in:
@@ -29,8 +29,8 @@
|
||||
|
||||
public function set() {
|
||||
|
||||
//set the variable
|
||||
$db = $this->db;
|
||||
//set the global variable
|
||||
global $db;
|
||||
|
||||
//clear the sessions
|
||||
unset($_SESSION['contact']);
|
||||
@@ -185,8 +185,8 @@
|
||||
|
||||
public function upgrade() {
|
||||
|
||||
//set the variable
|
||||
$db = $this->db;
|
||||
//set the global variable
|
||||
global $db;
|
||||
|
||||
//get the list of installed apps from the core and mod directories
|
||||
$config_list = glob($_SERVER["DOCUMENT_ROOT"] . PROJECT_PATH . "/*/*/app_config.php");
|
||||
|
||||
Reference in New Issue
Block a user