public function loadAll() { include_once Openbiz::$app->getModulePath() . "/system/lib/ModuleLoader.php"; $_moduleArr = glob(Openbiz::$app->getModulePath() . "/*"); $moduleArr[0] = "system"; $moduleArr[1] = "menu"; foreach ($_moduleArr as $_module) { $_module = basename($_module); $moduleArr[] = $_module; } foreach ($moduleArr as $moduleName) { $loader = new ModuleLoader($moduleName); $loader->loadChangeLog(); } $this->updateForm(); }