From d92b27512888661fe77c516542f8ff659c5f8c4b Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Mon, 28 Nov 2005 14:24:52 +0000 Subject: [PATCH] fixed upload --- lam/HISTORY | 1 + lam/templates/massDoUpload.php | 1 + 2 files changed, 2 insertions(+) diff --git a/lam/HISTORY b/lam/HISTORY index 96d7e48e..418750e2 100644 --- a/lam/HISTORY +++ b/lam/HISTORY @@ -3,6 +3,7 @@ - updated Italian translation - fixed bugs: -> fixed problems with case-insensitive DNs + -> file upload did not work when max_execution_time=0 (1367957) 16.11.2005 0.5.2 diff --git a/lam/templates/massDoUpload.php b/lam/templates/massDoUpload.php index d475fa46..0d52f44e 100644 --- a/lam/templates/massDoUpload.php +++ b/lam/templates/massDoUpload.php @@ -63,6 +63,7 @@ if (($_SESSION['mass_counter'] < sizeof($accounts)) || !isset($_SESSION['mass_po $startTime = time(); $maxTime = get_cfg_var('max_execution_time') - 5; if ($maxTime > 60) $maxTime = 60; + if ($maxTime <= 0) $maxTime = 60; $refreshTime = $maxTime + 7; echo "\n"; echo "\n\n";