aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorDavid M <davidmj@users.sourceforge.net>2006-03-22 00:48:43 +0000
committerDavid M <davidmj@users.sourceforge.net>2006-03-22 00:48:43 +0000
commit77167195c7ec712f5698a84cc1da79e61f483225 (patch)
treee04fbad94f36804c5b70e2dea7c2f39de34ec4e8 /phpBB
parenta52cff70d2dc4425763c4f60a04f909840b03c48 (diff)
downloadforums-77167195c7ec712f5698a84cc1da79e61f483225.tar
forums-77167195c7ec712f5698a84cc1da79e61f483225.tar.gz
forums-77167195c7ec712f5698a84cc1da79e61f483225.tar.bz2
forums-77167195c7ec712f5698a84cc1da79e61f483225.tar.xz
forums-77167195c7ec712f5698a84cc1da79e61f483225.zip
- Bug 1183
git-svn-id: file:///svn/phpbb/trunk@5685 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB')
-rw-r--r--phpBB/includes/db/sqlite.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/phpBB/includes/db/sqlite.php b/phpBB/includes/db/sqlite.php
index e7ea150a43..16319aec83 100644
--- a/phpBB/includes/db/sqlite.php
+++ b/phpBB/includes/db/sqlite.php
@@ -35,14 +35,13 @@ class dbal_sqlite extends dbal
*/
function sql_connect($sqlserver, $sqluser, $sqlpassword, $database, $port = false, $persistency = false)
{
- global $phpbb_root_path;
$this->persistency = $persistency;
$this->user = $sqluser;
$this->server = $sqlserver . (($port) ? ':' . $port : '');
$this->dbname = $database;
$error = '';
- $this->db_connect_id = ($this->persistency) ? @sqlite_popen($this->server, 0666, $error) : @sqlite_open($phpbb_root_path .'install/'. $this->server, 0777, $error);
+ $this->db_connect_id = ($this->persistency) ? @sqlite_popen($this->server, 0666, $error) : @sqlite_open($this->server, 0666, $error);;
if ($this->db_connect_id)
{