diff --git a/application/forms/Config/Resource/DbResourceForm.php b/application/forms/Config/Resource/DbResourceForm.php index 3339b59bf..793808d73 100644 --- a/application/forms/Config/Resource/DbResourceForm.php +++ b/application/forms/Config/Resource/DbResourceForm.php @@ -27,13 +27,23 @@ class DbResourceForm extends Form public function createElements(array $formData) { $dbChoices = array(); + if (Platform::hasMssqlSupport()) { + $dbChoices['mssql'] = 'MSSQL'; + } if (Platform::hasMysqlSupport()) { $dbChoices['mysql'] = 'MySQL'; } + if (Platform::hasOciSupport()) { + $dbChoices['oci'] = 'Oracle (OCI8)'; + } + if (Platform::hasOracleSupport()) { + $dbChoices['oracle'] = 'Oracle'; + } if (Platform::hasPostgresqlSupport()) { $dbChoices['pgsql'] = 'PostgreSQL'; } + $this->addElement( 'text', 'name',