1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-05-06 15:45:34 +02:00

Remove debugging stuff

git-svn-id: file:///svn/phpbb/trunk@3692 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Paul S. Owen 2003-03-20 02:26:04 +00:00
parent 49cbde66d9
commit 276ea6ced4

View File

@ -607,13 +607,11 @@ else
$sql_query = split_sql_file($sql_query, $delimiter); $sql_query = split_sql_file($sql_query, $delimiter);
$sql_count = count($sql_query); $sql_count = count($sql_query);
set_time_limit(15); @set_time_limit(30);
/*
foreach ($sql_query as $sql) foreach ($sql_query as $sql)
{ {
echo "<br />" . $sql = str_replace('|', ';', $sql); $sql = str_replace('|', ';', $sql) . "\n";
echo "\n";
flush();
if (!$db->sql_query($sql)) if (!$db->sql_query($sql))
{ {
@ -624,7 +622,7 @@ set_time_limit(15);
exit; exit;
} }
} }
*/
// Ok tables have been built, let's fill in the basic information // Ok tables have been built, let's fill in the basic information
$sql_query = @fread(@fopen($dbms_basic, 'r'), @filesize($dbms_basic)); $sql_query = @fread(@fopen($dbms_basic, 'r'), @filesize($dbms_basic));
$sql_query = preg_replace('#phpbb_#', $table_prefix, $sql_query); $sql_query = preg_replace('#phpbb_#', $table_prefix, $sql_query);
@ -635,9 +633,6 @@ set_time_limit(15);
foreach ($sql_query as $sql) foreach ($sql_query as $sql)
{ {
echo "<br />" . $sql;
echo "\n";
flush();
if (!$db->sql_query($sql)) if (!$db->sql_query($sql))
{ {
$error = $db->sql_error(); $error = $db->sql_error();