Fix Firebird test connection issue
This commit is contained in:
parent
8dc2079d43
commit
cc49bcfbaa
@ -59,7 +59,7 @@ class Firebird extends DB_PDO {
|
|||||||
* @param string $user
|
* @param string $user
|
||||||
* @param string $pass
|
* @param string $pass
|
||||||
*/
|
*/
|
||||||
public function __construct($dbpath, $user='sysdba', $pass='masterkey')
|
public function __construct($dbpath, $user='SYSDBA', $pass='masterkey')
|
||||||
{
|
{
|
||||||
$this->conn = fbird_connect($dbpath, $user, $pass, 'utf-8');
|
$this->conn = fbird_connect($dbpath, $user, $pass, 'utf-8');
|
||||||
|
|
||||||
@ -67,7 +67,6 @@ class Firebird extends DB_PDO {
|
|||||||
if ( ! is_resource($this->conn))
|
if ( ! is_resource($this->conn))
|
||||||
{
|
{
|
||||||
throw new PDOException(fbird_errmsg());
|
throw new PDOException(fbird_errmsg());
|
||||||
die();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load these classes here because this
|
// Load these classes here because this
|
||||||
|
Loading…
Reference in New Issue
Block a user