mirror of
https://github.com/nuxsmin/sysPass.git
synced 2026-03-11 19:06:57 +01:00
* [MOD] Improved CSS & JS resources handling.
* [MOD] Improved bootstrap workflow. Work in progress.
This commit is contained in:
@@ -387,7 +387,7 @@ class MainController extends ControllerBase implements ActionsInterface
|
||||
|
||||
if (!Checks::checkPhpVersion()) {
|
||||
$errors[] = [
|
||||
'type' => SPException::SP_CRITICAL,
|
||||
'type' => SPException::CRITICAL,
|
||||
'description' => __('Versión de PHP requerida >= ') . ' 5.6.0 <= 7.0',
|
||||
'hint' => __('Actualice la versión de PHP para que la aplicación funcione correctamente')
|
||||
];
|
||||
@@ -398,7 +398,7 @@ class MainController extends ControllerBase implements ActionsInterface
|
||||
if (count($modules) > 0) {
|
||||
foreach ($modules as $module) {
|
||||
$error[] = [
|
||||
'type' => SPException::SP_WARNING,
|
||||
'type' => SPException::WARNING,
|
||||
'description' => sprintf('%s (%s)', __('Módulo no disponible'), $module),
|
||||
'hint' => __('Sin este módulo la aplicación puede no funcionar correctamente.')
|
||||
];
|
||||
@@ -407,14 +407,14 @@ class MainController extends ControllerBase implements ActionsInterface
|
||||
|
||||
if (@file_exists(__FILE__ . "\0Nullbyte")) {
|
||||
$errors[] = [
|
||||
'type' => SPException::SP_WARNING,
|
||||
'type' => SPException::WARNING,
|
||||
'description' => __('La version de PHP es vulnerable al ataque NULL Byte (CVE-2006-7243)'),
|
||||
'hint' => __('Actualice la versión de PHP para usar sysPass de forma segura')];
|
||||
}
|
||||
|
||||
if (!Checks::secureRNGIsAvailable()) {
|
||||
$errors[] = [
|
||||
'type' => SPException::SP_WARNING,
|
||||
'type' => SPException::WARNING,
|
||||
'description' => __('No se encuentra el generador de números aleatorios.'),
|
||||
'hint' => __('Sin esta función un atacante puede utilizar su cuenta al resetear la clave')];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user