aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/install
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2003-03-19 20:42:34 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2003-03-19 20:42:34 +0000
commit85c22541c1a568c69e1d4cd3ed19f60a30e70bd1 (patch)
treeccedced2a3609fa6af7af10c2849d5529d9272b3 /phpBB/install
parentac45bff71acc02feed9498a7631512cb18bfdd50 (diff)
downloadforums-85c22541c1a568c69e1d4cd3ed19f60a30e70bd1.tar
forums-85c22541c1a568c69e1d4cd3ed19f60a30e70bd1.tar.gz
forums-85c22541c1a568c69e1d4cd3ed19f60a30e70bd1.tar.bz2
forums-85c22541c1a568c69e1d4cd3ed19f60a30e70bd1.tar.xz
forums-85c22541c1a568c69e1d4cd3ed19f60a30e70bd1.zip
Fudge for firebird schema
git-svn-id: file:///svn/phpbb/trunk@3680 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/install')
-rw-r--r--phpBB/install/install.php11
1 files changed, 10 insertions, 1 deletions
diff --git a/phpBB/install/install.php b/phpBB/install/install.php
index f3598dc8cf..327b1d3e98 100644
--- a/phpBB/install/install.php
+++ b/phpBB/install/install.php
@@ -607,8 +607,14 @@ else
$sql_query = split_sql_file($sql_query, $delimiter);
$sql_count = count($sql_query);
+set_time_limit(15);
+/*
foreach ($sql_query as $sql)
{
+ echo "<br />" . $sql = str_replace('|', ';', $sql);
+ echo "\n";
+ flush();
+
if (!$db->sql_query($sql))
{
$error = $db->sql_error();
@@ -618,7 +624,7 @@ else
exit;
}
}
-
+*/
// Ok tables have been built, let's fill in the basic information
$sql_query = @fread(@fopen($dbms_basic, 'r'), @filesize($dbms_basic));
$sql_query = preg_replace('#phpbb_#', $table_prefix, $sql_query);
@@ -629,6 +635,9 @@ else
foreach ($sql_query as $sql)
{
+ echo "<br />" . $sql;
+ echo "\n";
+ flush();
if (!$db->sql_query($sql))
{
$error = $db->sql_error();