mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Set the $db as a global variable in the class.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user