/** * Display all errors for module installer, must be used ONLY if You realy need it */ public static function displayErrors($exit = true) { $errors = errorsCsp::get(errorsCsp::MOD_INSTALL); foreach ($errors as $e) { echo '<b style="color: red;">' . $e . '</b><br />'; } if ($exit) { exit; } }