diff options
Diffstat (limited to 'phpBB/install/install.php')
-rw-r--r-- | phpBB/install/install.php | 11 |
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(); |