]> git.mxchange.org Git - mailer.git/blobdiff - inc/install-functions.php
Tried to fix installer a bit + added missing language string.
[mailer.git] / inc / install-functions.php
index e4ab52901ffa3672712203a3eeb2c413465eaf89..7c205e24813a08aaeeab28960fff1b17a251122e 100644 (file)
@@ -563,6 +563,15 @@ function isInstallerMysqlEngineValid ($value) {
        return $isValid;
 }
 
+// Call-back function to check validity of 'database_extension'
+function isInstallerDatabaseExtensionValid ($value) {
+       // This value must be 'mysql' or 'mysqli'
+       $isValid = in_array($value, array('mysql', 'mysqli'));
+
+       // Return it
+       return $isValid;
+}
+
 // Call-back function to check validity of 'mysql_dbase'
 function isInstallerMysqlDbaseValid ($value) {
        // This value must not be empty