fix translation strings and update session lifetime to default panel sessiontimeout
Signed-off-by: Maurice Preuß (envoyr) <envoyr@froxlor.org>
This commit is contained in:
@@ -282,7 +282,7 @@ class Install
|
|||||||
{
|
{
|
||||||
// TODO: do validations
|
// TODO: do validations
|
||||||
if (isset($field['mandatory']) && $field['mandatory'] && empty($attribute)) {
|
if (isset($field['mandatory']) && $field['mandatory'] && empty($attribute)) {
|
||||||
throw new Exception(lng('install.errors.mandatory_field_not_set', [htmlspecialchars($field['label'])]));
|
throw new Exception(lng('install.errors.mandatory_field_not_set', [$field['label']]));
|
||||||
}
|
}
|
||||||
return $attribute;
|
return $attribute;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -93,7 +93,7 @@ class UI
|
|||||||
public static function sendHeaders()
|
public static function sendHeaders()
|
||||||
{
|
{
|
||||||
session_set_cookie_params([
|
session_set_cookie_params([
|
||||||
'lifetime' => 60, // will be renewed based on settings in lib/init.php
|
'lifetime' => 600, // will be renewed based on settings in lib/init.php
|
||||||
'path' => '/',
|
'path' => '/',
|
||||||
'domain' => $_SERVER['HTTP_HOST'],
|
'domain' => $_SERVER['HTTP_HOST'],
|
||||||
'secure' => self::requestIsHttps(),
|
'secure' => self::requestIsHttps(),
|
||||||
|
|||||||
@@ -2223,7 +2223,7 @@ Vielen Dank, Ihr Administrator',
|
|||||||
'websrvgrpdoesnotexist' => 'Die angegebene Webserver-Gruppe scheint auf dem System nicht zu existieren',
|
'websrvgrpdoesnotexist' => 'Die angegebene Webserver-Gruppe scheint auf dem System nicht zu existieren',
|
||||||
'notyetconfigured' => 'Es scheint als wären die Dienste (noch) nicht erfolgreich konfiguriert worden. Bitte den angezeigten Befehl ausführen oder überspringen (direkt zum Login)',
|
'notyetconfigured' => 'Es scheint als wären die Dienste (noch) nicht erfolgreich konfiguriert worden. Bitte den angezeigten Befehl ausführen oder überspringen (direkt zum Login)',
|
||||||
'mandatory_field_not_set' => 'Pflichtfeld "%s" ist nicht gesetzt!',
|
'mandatory_field_not_set' => 'Pflichtfeld "%s" ist nicht gesetzt!',
|
||||||
'unexpected_database_error' => 'Eine unerwarteter Datenbankfehler ist aufgetreten.',
|
'unexpected_database_error' => 'Eine unerwarteter Datenbankfehler ist aufgetreten. %s',
|
||||||
'sql_import_failed' => 'Der Import von SQL-Daten ist fehlgeschlagen!',
|
'sql_import_failed' => 'Der Import von SQL-Daten ist fehlgeschlagen!',
|
||||||
'unprivileged_sql_connection_failed' => 'Unprivilegierte SQL-Verbindung konnte nicht initialisiert werden!',
|
'unprivileged_sql_connection_failed' => 'Unprivilegierte SQL-Verbindung konnte nicht initialisiert werden!',
|
||||||
'privileged_sql_connection_failed' => 'Initialisierung der privilegierten SQL-Verbindung fehlgeschlagen!',
|
'privileged_sql_connection_failed' => 'Initialisierung der privilegierten SQL-Verbindung fehlgeschlagen!',
|
||||||
|
|||||||
@@ -2355,7 +2355,7 @@ Yours sincerely, your administrator',
|
|||||||
'websrvgrpdoesnotexist' => 'Given webserver-group does not seem to exist on the system',
|
'websrvgrpdoesnotexist' => 'Given webserver-group does not seem to exist on the system',
|
||||||
'notyetconfigured' => 'It seems that the services were not yet configured (successfully). Please either run the command shown below or check the box to do it later.',
|
'notyetconfigured' => 'It seems that the services were not yet configured (successfully). Please either run the command shown below or check the box to do it later.',
|
||||||
'mandatory_field_not_set' => 'Mandatory field "%s" is not set!',
|
'mandatory_field_not_set' => 'Mandatory field "%s" is not set!',
|
||||||
'unexpected_database_error' => 'Unexpected database exception occurred.',
|
'unexpected_database_error' => 'Unexpected database exception occurred. %s',
|
||||||
'sql_import_failed' => 'Failed to import SQL data!',
|
'sql_import_failed' => 'Failed to import SQL data!',
|
||||||
'unprivileged_sql_connection_failed' => 'Failed to initialize unprivileged SQL connection!',
|
'unprivileged_sql_connection_failed' => 'Failed to initialize unprivileged SQL connection!',
|
||||||
'privileged_sql_connection_failed' => 'Failed to initialize privileged SQL connection!',
|
'privileged_sql_connection_failed' => 'Failed to initialize privileged SQL connection!',
|
||||||
|
|||||||
Reference in New Issue
Block a user