aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/db/mysql.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2005-03-21 23:10:11 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2005-03-21 23:10:11 +0000
commite4fe2d853d3e96ec4d6493e1651d93ab1b73ae1c (patch)
tree8b687905d08d6af99c3396fa5c0470c7bbef4ccb /phpBB/includes/db/mysql.php
parenta4e51c9699c7a09bea32ad832a9818abba008801 (diff)
downloadforums-e4fe2d853d3e96ec4d6493e1651d93ab1b73ae1c.tar
forums-e4fe2d853d3e96ec4d6493e1651d93ab1b73ae1c.tar.gz
forums-e4fe2d853d3e96ec4d6493e1651d93ab1b73ae1c.tar.bz2
forums-e4fe2d853d3e96ec4d6493e1651d93ab1b73ae1c.tar.xz
forums-e4fe2d853d3e96ec4d6493e1651d93ab1b73ae1c.zip
- and my second attempt
git-svn-id: file:///svn/phpbb/trunk@5109 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes/db/mysql.php')
-rw-r--r--phpBB/includes/db/mysql.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/db/mysql.php b/phpBB/includes/db/mysql.php
index aa9e6c1a39..e1780eb5e7 100644
--- a/phpBB/includes/db/mysql.php
+++ b/phpBB/includes/db/mysql.php
@@ -30,11 +30,10 @@ class sql_db
{
$this->persistency = $persistency;
$this->user = $sqluser;
- $this->password = $sqlpassword;
$this->server = $sqlserver . (($port) ? ':' . $port : '');
$this->dbname = $database;
- $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $this->password) : @mysql_connect($this->server, $this->user, $this->password);
+ $this->db_connect_id = ($this->persistency) ? @mysql_pconnect($this->server, $this->user, $sqlpassword) : @mysql_connect($this->server, $this->user, $sqlpassword);
if ($this->db_connect_id && $this->dbname != '')
{