From ca3cf39ee1d245762dc02e8d8f35a03f7cc03bc5 Mon Sep 17 00:00:00 2001 From: moodler Date: Sat, 14 Dec 2002 18:33:37 +0000 Subject: [PATCH] Turn off time limits with big SQL commands ... some databases are really slow. --- admin/index.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin/index.php b/admin/index.php index f6fdd229cf..057229e93f 100644 --- a/admin/index.php +++ b/admin/index.php @@ -39,6 +39,7 @@ print_header($strdatabasesetup, $strdatabasesetup, $strdatabasesetup); if (file_exists("$CFG->libdir/db/$CFG->dbtype.sql")) { $db->debug = true; + set_time_limit(0); // To allow slow databases to complete the long SQL if (modify_database("$CFG->libdir/db/$CFG->dbtype.sql")) { $db->debug = false; notify($strdatabasesuccess); @@ -180,6 +181,7 @@ } $updated_modules = true; $db->debug = true; + set_time_limit(0); // To allow slow databases to complete the long SQL if (modify_database("$fullmod/db/$CFG->dbtype.sql")) { $db->debug = false; if ($module->id = insert_record("modules", $module)) { -- 2.39.5