mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Drop unavailable PDO drivers in admin contacts
Based on good feedback in issue #11 by @phsc84
This commit is contained in:
parent
e174248463
commit
578131e22a
8 changed files with 15 additions and 59 deletions
|
|
@ -1326,10 +1326,7 @@ NewThemeLink IncludeCss TemplatesLink LangLink IncludeBackground PluginsLink Aut
|
|||
$aResult['VerifySslCertificate'] = (bool) $oConfig->Get('ssl', 'verify_certificate', false);
|
||||
$aResult['AllowSelfSigned'] = (bool) $oConfig->Get('ssl', 'allow_self_signed', true);
|
||||
|
||||
$aDrivers = \class_exists('PDO') ? \PDO::getAvailableDrivers() : null;
|
||||
$aResult['MySqlIsSupported'] = \is_array($aDrivers) ? \in_array('mysql', $aDrivers) : false;
|
||||
$aResult['SQLiteIsSupported'] = \is_array($aDrivers) ? \in_array('sqlite', $aDrivers) : false;
|
||||
$aResult['PostgreSqlIsSupported'] = \is_array($aDrivers) ? \in_array('pgsql', $aDrivers) : false;
|
||||
$aResult['supportedPdoDrivers'] = \class_exists('PDO') ? \PDO::getAvailableDrivers() : [];
|
||||
|
||||
$aResult['ContactsEnable'] = (bool) $oConfig->Get('contacts', 'enable', false);
|
||||
$aResult['ContactsSync'] = (bool) $oConfig->Get('contacts', 'allow_sync', false);
|
||||
|
|
|
|||
|
|
@ -209,8 +209,6 @@ en:
|
|||
BETA: "beta"
|
||||
UNSTABLE: "unstable"
|
||||
WARNING: "Warning!"
|
||||
NOT_SUPPORTED: "not supported"
|
||||
REQUIRES_PHP_54: "requires PHP 5.4 or greater"
|
||||
ERRORS:
|
||||
DOMAIN_ALREADY_EXISTS: "Domain already exists"
|
||||
UNKNOWN_ERROR: "Unknown error"
|
||||
|
|
|
|||
|
|
@ -206,8 +206,6 @@ de_DE:
|
|||
BETA: "Beta"
|
||||
UNSTABLE: "Nicht stabil"
|
||||
WARNING: "Warnung!"
|
||||
NOT_SUPPORTED: "Nicht unterstützt"
|
||||
REQUIRES_PHP_54: "PHP 5.4 oder höher ist erforderlich"
|
||||
ERRORS:
|
||||
DOMAIN_ALREADY_EXISTS: "Domain existiert bereits"
|
||||
UNKNOWN_ERROR: "Unbekannter Fehler"
|
||||
|
|
|
|||
|
|
@ -206,8 +206,6 @@ en_US:
|
|||
BETA: "beta"
|
||||
UNSTABLE: "unstable"
|
||||
WARNING: "Warning!"
|
||||
NOT_SUPPORTED: "not supported"
|
||||
REQUIRES_PHP_54: "requires PHP 5.4 or greater"
|
||||
ERRORS:
|
||||
DOMAIN_ALREADY_EXISTS: "Domain already exists"
|
||||
UNKNOWN_ERROR: "Unknown error"
|
||||
|
|
|
|||
|
|
@ -203,8 +203,6 @@ es_ES:
|
|||
BETA: "beta"
|
||||
UNSTABLE: "inestable"
|
||||
WARNING: "¡Atención!"
|
||||
NOT_SUPPORTED: "no soportado"
|
||||
REQUIRES_PHP_54: "requiere PHP 5.4 o superior"
|
||||
ERRORS:
|
||||
DOMAIN_ALREADY_EXISTS: "El Dominio ya existe"
|
||||
UNKNOWN_ERROR: "Error desconocido"
|
||||
|
|
|
|||
|
|
@ -207,8 +207,6 @@ fr_FR:
|
|||
BETA: "bêta"
|
||||
UNSTABLE: "instable"
|
||||
WARNING: "ATTENTION !"
|
||||
NOT_SUPPORTED: "non supporté"
|
||||
REQUIRES_PHP_54: "nécessite PHP 5.4 ou supérieur"
|
||||
ERRORS:
|
||||
DOMAIN_ALREADY_EXISTS: "Le domaine existe déjà"
|
||||
UNKNOWN_ERROR: "Erreur inconnue"
|
||||
|
|
|
|||
|
|
@ -206,8 +206,6 @@ nl_NL:
|
|||
BETA: "bèta"
|
||||
UNSTABLE: "onstabiel"
|
||||
WARNING: "Waarschuwing!"
|
||||
NOT_SUPPORTED: "niet ondersteund"
|
||||
REQUIRES_PHP_54: "vereist PHP 5.4 of hoger"
|
||||
ERRORS:
|
||||
DOMAIN_ALREADY_EXISTS: "Domein bestaat al"
|
||||
UNKNOWN_ERROR: "Onbekende fout"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue