diff --git a/app/scripts/resources/classes/scripts.php b/app/scripts/resources/classes/scripts.php index 47cc91ff54..c07bde2950 100644 --- a/app/scripts/resources/classes/scripts.php +++ b/app/scripts/resources/classes/scripts.php @@ -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;