summaryrefslogtreecommitdiffstats
path: root/core/setup.php
diff options
context:
space:
mode:
authorTobias Ramforth <tobias@ramforth.com>2013-02-08 00:00:51 +0100
committerTobias Ramforth <tobias@ramforth.com>2013-02-08 00:00:51 +0100
commitd577f790c8cbcf4f8dce74f9991e4bd62e21f949 (patch)
tree3180f4061034082c6cd5018cc054ed8b5eb2dcec /core/setup.php
parentf2b5bc8ab8fadaee3db3a03e6a4748fdb28a01b1 (diff)
downloadnextcloud-server-d577f790c8cbcf4f8dce74f9991e4bd62e21f949.tar.gz
nextcloud-server-d577f790c8cbcf4f8dce74f9991e4bd62e21f949.zip
Added MS SQL Server support
Diffstat (limited to 'core/setup.php')
-rw-r--r--core/setup.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/core/setup.php b/core/setup.php
index 66b8cf378bd..0da9b35a35a 100644
--- a/core/setup.php
+++ b/core/setup.php
@@ -16,6 +16,7 @@ $hasSQLite = class_exists('SQLite3');
$hasMySQL = is_callable('mysql_connect');
$hasPostgreSQL = is_callable('pg_connect');
$hasOracle = is_callable('oci_connect');
+$hasMSSQL = is_callable('sqlsrv_connect');
$datadir = OC_Config::getValue('datadirectory', OC::$SERVERROOT.'/data');
// Protect data directory here, so we can test if the protection is working
@@ -26,6 +27,7 @@ $opts = array(
'hasMySQL' => $hasMySQL,
'hasPostgreSQL' => $hasPostgreSQL,
'hasOracle' => $hasOracle,
+ 'hasMSSQLServer' => $hasMSSQL,
'directory' => $datadir,
'secureRNG' => OC_Util::secureRNG_available(),
'htaccessWorking' => OC_Util::ishtaccessworking(),