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 */