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

@@ -27,7 +27,7 @@
//use the module class to get the list of modules from the db and add any missing modules
if ($domains_processed == 1) {
$mod = new switch_modules;
$mod = new modules;
$mod->db = $db;
$mod->dir = $_SESSION['switch']['mod']['dir'];
$mod->get_modules();