aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/firebird.php
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-06-12 17:11:43 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-06-12 17:11:43 +0000
commitdee0f40fd2b27f441c2f4b60382c7985b9f0789d (patch)
tree3dc96c29982897336ad66c44dc1d5d1d2ec1b641 /phpBB/includes/db/firebird.php
parent68f6998a4cc3f2dc0f839712427d246acf055c55 (diff)
downloadforums-dee0f40fd2b27f441c2f4b60382c7985b9f0789d.tar
forums-dee0f40fd2b27f441c2f4b60382c7985b9f0789d.tar.gz
forums-dee0f40fd2b27f441c2f4b60382c7985b9f0789d.tar.bz2
forums-dee0f40fd2b27f441c2f4b60382c7985b9f0789d.tar.xz
forums-dee0f40fd2b27f441c2f4b60382c7985b9f0789d.zip
various fixes and alterations
git-svn-id: file:///svn/phpbb/trunk@4118 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/firebird.php')
-rw-r--r--phpBB/includes/db/firebird.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/phpBB/includes/db/firebird.php b/phpBB/includes/db/firebird.php
index 0c29ae36cb..247f3dd429 100644
--- a/phpBB/includes/db/firebird.php
+++ b/phpBB/includes/db/firebird.php
@@ -33,8 +33,7 @@ class sql_db
var $sql_report = '';
var $sql_time = 0;
- // Constructor
- function sql_db($sqlserver, $sqluser, $sqlpassword, $database = '', $port = '', $persistency = false)
+ function sql_connect($sqlserver, $sqluser, $sqlpassword, $database = '', $port = '', $persistency = false)
{
$this->open_queries = array();
$this->num_queries = 0;
@@ -44,7 +43,7 @@ class sql_db
$this->password = $sqlpassword;
$this->server = $sqlserver;
- $this->db_connect_id =($this->persistency) ? ibase_pconnect($this->server, $this->user, $this->password) : ibase_connect($this->server, $this->user, $this->password);
+ $this->db_connect_id =($this->persistency) ? @ibase_pconnect($this->server, $this->user, $this->password) : @ibase_connect($this->server, $this->user, $this->password);
return ($this->db_connect_id) ? $this->db_connect_id : $this->sql_error('');
}