Fixed issue #96.
This commit is contained in:
parent
534fb5409c
commit
cdc7db51f8
@ -38,6 +38,8 @@ define ("DATA_SOURCE_DB_DRIVER", "mypdo");
|
||||
define ("DATA_SOURCE_DB_TYPE", "{_DBCONNECTOR_}");
|
||||
/* Serveur de Base de Données */
|
||||
define ("DATA_SOURCE_DB_SERVER", "{_DBHOST_}");
|
||||
/* Port du serveur de Base de Données */
|
||||
define ("DATA_SOURCE_DB_PORT", {_DBPORT_});
|
||||
/* Compte Utilisateur de la base de données */
|
||||
define ("DATA_SOURCE_DB_USER", "{_DBUSER_}");
|
||||
/* Mot de passe de la Base de données */
|
||||
|
@ -884,7 +884,7 @@ var $currentCoordinationObject=null;
|
||||
switch ( $dbdriver )
|
||||
{
|
||||
case "mypdo":
|
||||
$GLOBALS['SYSTEM_DATABASE_CONN']=new myPdo( DATA_SOURCE_DB_TYPE, DATA_SOURCE_DB_SERVER, DATA_SOURCE_DB_USER, DATA_SOURCE_DB_PASSWORD, DATA_SOURCE_DB_DATABASE, DATA_SOURCE_DB_CHARSET );
|
||||
$GLOBALS['SYSTEM_DATABASE_CONN']=new myPdo( DATA_SOURCE_DB_TYPE, DATA_SOURCE_DB_SERVER, DATA_SOURCE_DB_PORT, DATA_SOURCE_DB_USER, DATA_SOURCE_DB_PASSWORD, DATA_SOURCE_DB_DATABASE, DATA_SOURCE_DB_CHARSET );
|
||||
break;
|
||||
// case "mysql3":
|
||||
// $GLOBALS['SYSTEM_DATABASE_CONN']=new MySQL3( DATA_SOURCE_SQL_SERVER, DATA_SOURCE_SQL_USER, DATA_SOURCE_SQL_PASSWORD, DATA_SOURCE_SQL_DATABASE);
|
||||
|
@ -120,7 +120,7 @@ class mypdo extends Database
|
||||
$this->user = $user;
|
||||
$this->password = $password;
|
||||
$this->server = $server;
|
||||
$this->port = $port;
|
||||
$this->dbport = $port;
|
||||
$this->dbname = $database;
|
||||
$this->dbcharset = $charset;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user