Set the $db as a global variable in the class.

This commit is contained in:
markjcrane 2015-12-20 22:54:08 -07:00
parent 515d069f0e
commit 3fc3e0114b
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ class scripts {
if (strlen($_SESSION['switch']['scripts']['dir']) > 0) {
//define the global variables
global $db;
global $db_type;
global $db_name;
global $db_host;