SQL connection string fixed for IIS

This commit is contained in:
Geoff Munn 2009-04-06 02:57:42 +00:00
parent 20e4e95958
commit 1aecbddb6e

View File

@ -58,7 +58,7 @@ class MSSQLDatabase extends Database {
if(function_exists('sqlsrv_connect')){
$this->funcPrefix='sqlsrv';
$this->dbConn = $connect($parameters['server'], Array('UID'=>$parameters['username'], 'PWD'=>$parameters['password'], 'Database'=>$parameters['database']));
$this->dbConn = sqlsrv_connect($parameters['server'], Array('UID'=>$parameters['username'], 'PWD'=>$parameters['password'], 'Database'=>$parameters['database']));
$this->active=true;
} else {
$this->funcPrefix='mssql';