$moduleManager = new IPSModuleManager('', '', sys_get_temp_dir(), true); $moduleManager->VersionHandler()->BuildKnownModules(); } break; case 'UpdateAll': if (IPSModuleManagerGUI_GetLock($action, true)) { IPSLogger_Inf(__file__, 'IPSModuleManagerGUI - Update of all Modules'); $moduleManager = new IPSModuleManager(); $moduleManager->UpdateAllModules(); } break; case 'Update': if (IPSModuleManagerGUI_GetLock($action, true)) { IPSLogger_Inf(__file__, 'IPSModuleManagerGUI - Update of Module '.$module.' from Repository "'.$repository.'"'); $moduleManager = new IPSModuleManager($module, $repository); $moduleManager->UpdateModule(); } break; case 'Install': if (IPSModuleManagerGUI_GetLock($action, true)) { IPSLogger_Inf(__file__, 'IPSModuleManagerGUI - Installation of Module '.$module); $moduleManager = new IPSModuleManager($module); $moduleManager->InstallModule(); } break; case 'Load': if (IPSModuleManagerGUI_GetLock($action, true)) { IPSLogger_Inf(__file__, 'IPSModuleManagerGUI - Load Files of Module '.$module.' from Repository "'.$repository.'"'); $moduleManager = new IPSModuleManager($module, $repository); $moduleManager->LoadModule(); }