Change the class name from switch_modules to modules.

This commit is contained in:
Mark Crane
2014-11-23 09:45:10 +00:00
parent ed2e1da871
commit e3dd425f8f
4 changed files with 5 additions and 10 deletions

View File

@@ -69,7 +69,7 @@ if (strlen($_GET["a"]) > 0) {
}
//use the module class to get the list of modules from the db and add any missing modules
$mod = new switch_modules;
$mod = new modules;
$mod->db = $db;
$mod->dir = $_SESSION['switch']['mod']['dir'];
$mod->get_modules();