Add to the schema class and adjust the db connection obect in the domains class

This commit is contained in:
Mark Crane
2014-07-15 07:58:01 +00:00
parent c0f16be420
commit c7abde93dd
2 changed files with 662 additions and 9 deletions

View File

@@ -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");