Portions created by the Initial Developer are Copyright (C) 2008-2016 the Initial Developer. All Rights Reserved. Contributor(s): Mark J Crane */ //process one time if ($domains_processed == 1) { //add missing switch directories in default settings $obj = new switch_settings; $obj->settings(); unset($obj); //use the module class to get the list of modules from the db and add any missing modules if (isset($_SESSION['switch']['mod']['dir'])) { $module = new modules; $module->db = $db; $module->dir = $_SESSION['switch']['mod']['dir']; $module->get_modules(); $module->synch(); $module->xml(); $msg = $module->msg; } } ?>