From 81d7dd5c71513fdb06ec1122a90d7c71661e5322 Mon Sep 17 00:00:00 2001 From: "Alexander M. Turek" Date: Thu, 11 Jul 2002 16:44:47 +0000 Subject: [PATCH] bug #579968 --- ChangeLog | 1 + read_dump.php3 | 12 ++++++------ 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 50b45dfbf..5bb924f91 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ $Source$ 2002-07-11 Alexander M. Turek * libraries/common.lib.php3: PHP3 compatibility. + * read_dump.php3: Fixed bug #579968, thanks to Alvar Soome (finsoft). 2002-07-11 Robin Johnson * libraries/common.lib.php3: Fix for case where HTTP_HOST contains diff --git a/read_dump.php3 b/read_dump.php3 index 2faecc2fe..f6fc5dca9 100644 --- a/read_dump.php3 +++ b/read_dump.php3 @@ -165,12 +165,6 @@ if (!function_exists('is_uploaded_file')) { -/** - * Increases the max. allowed time to run a script - */ -@set_time_limit($cfg['ExecTimeLimit']); - - /** * Gets some core libraries */ @@ -178,6 +172,12 @@ require('./libraries/grab_globals.lib.php3'); require('./libraries/common.lib.php3'); +/** + * Increases the max. allowed time to run a script + */ +@set_time_limit($cfg['ExecTimeLimit']); + + /** * Defines the url to return to in case of error in a sql statement */