From 88bbd19d65fed6547e741d70c75f4dd89e180fcc Mon Sep 17 00:00:00 2001 From: markjcrane Date: Thu, 26 May 2016 11:23:53 -0600 Subject: [PATCH] Add the include for the class. --- resources/switch.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/resources/switch.php b/resources/switch.php index dfd0893c51..373e1b8cab 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -1432,7 +1432,8 @@ if (!function_exists('save_switch_xml')) { save_setting_xml(); } if (file_exists($_SERVER["PROJECT_ROOT"]."/app/modules/app_config.php")) { - $module new modules;; + require_once $_SERVER["DOCUMENT_ROOT"].PROJECT_PATH."app/modules/resources/classes/modules.php"; + $module new modules; $module->xml(); } if (file_exists($_SERVER["PROJECT_ROOT"]."/app/vars/app_config.php")) {