aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2007-02-19 04:15:35 +0000
committerDavid M <davidmj@users.sourceforge.net>2007-02-19 04:15:35 +0000
commit28871e1f7b3ba4d9e26b34b065a9e198a5202044 (patch)
tree6d3f3f66cd44a07a84fdb740aa35ba4f0c102c1c
parent1d6fd8e1352d9ed4bfe3f91e9f2bf254920eb479 (diff)
downloadforums-28871e1f7b3ba4d9e26b34b065a9e198a5202044.tar
forums-28871e1f7b3ba4d9e26b34b065a9e198a5202044.tar.gz
forums-28871e1f7b3ba4d9e26b34b065a9e198a5202044.tar.bz2
forums-28871e1f7b3ba4d9e26b34b065a9e198a5202044.tar.xz
forums-28871e1f7b3ba4d9e26b34b065a9e198a5202044.zip
- forgot a few places :P
git-svn-id: file:///svn/phpbb/trunk@7010 89ea8834-ac86-4346-8a33-228a782c2dd0
-rw-r--r--phpBB/install/database_update.php2
-rwxr-xr-xphpBB/install/install_install.php4
-rw-r--r--phpBB/install/install_update.php2
-rw-r--r--phpBB/style.php2
4 files changed, 5 insertions, 5 deletions
diff --git a/phpBB/install/database_update.php b/phpBB/install/database_update.php
index 2d19b46245..201629e7b1 100644
--- a/phpBB/install/database_update.php
+++ b/phpBB/install/database_update.php
@@ -65,7 +65,7 @@ $cache = new cache();
$db = new $sql_db();
// Connect to DB
-$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
+$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);
// We do not need this any longer, unset for safety purposes
unset($dbpasswd);
diff --git a/phpBB/install/install_install.php b/phpBB/install/install_install.php
index ca91cf6396..faa6844a6e 100755
--- a/phpBB/install/install_install.php
+++ b/phpBB/install/install_install.php
@@ -1092,7 +1092,7 @@ class install_install extends module
// Instantiate the database
$sql_db = 'dbal_' . $available_dbms[$dbms]['DRIVER'];
$db = new $sql_db();
- $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
+ $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);
// NOTE: trigger_error does not work here.
$db->return_on_error = true;
@@ -1373,7 +1373,7 @@ class install_install extends module
// Instantiate the database
$sql_db = 'dbal_' . $available_dbms[$dbms]['DRIVER'];
$db = new $sql_db();
- $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
+ $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);
// NOTE: trigger_error does not work here.
$db->return_on_error = true;
diff --git a/phpBB/install/install_update.php b/phpBB/install/install_update.php
index 3e24cc71ed..a2e2084f28 100644
--- a/phpBB/install/install_update.php
+++ b/phpBB/install/install_update.php
@@ -91,7 +91,7 @@ class install_update extends module
$db = new $sql_db();
// Connect to DB
- $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false);
+ $db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false);
// We do not need this any longer, unset for safety purposes
unset($dbpasswd);
diff --git a/phpBB/style.php b/phpBB/style.php
index a9803aa4e5..e238fe63a0 100644
--- a/phpBB/style.php
+++ b/phpBB/style.php
@@ -60,7 +60,7 @@ if ($id && $sid)
$cache = new cache();
// Connect to DB
- if (!@$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false))
+ if (!@$db->sql_connect($dbhost, $dbuser, $dbpasswd, $dbname, $dbport, false, false))
{
exit;
}