public static function install($data, &$fail, &$errno, &$error) { if (constant('ISCLI')) { return json_decode(Request::get($data['PL']['url'] . '/install/install.php/checkModulesExtern', array(), '')['content'], true); } else { return ModulpruefungAusgeben::checkModules($data, $fail, $errno, $error); } }