summaryrefslogtreecommitdiffstats
path: root/usr/local/www/system_firmware.php
diff options
context:
space:
mode:
authorMark Crane <mcrane@pfsense.org>2008-04-27 06:20:40 +0000
committerMark Crane <mcrane@pfsense.org>2008-04-27 06:20:40 +0000
commit47d11b79b44c01f946ec418ab4d9b72eca7426fb (patch)
treeb95461e8dab20cf8d11d1fb641c885caef798a57 /usr/local/www/system_firmware.php
parentbe3911ca51b8b76b7908ee55cae19dbe3a2e70d1 (diff)
downloadpfsense-47d11b79b44c01f946ec418ab4d9b72eca7426fb.zip
pfsense-47d11b79b44c01f946ec418ab4d9b72eca7426fb.tar.gz
Set php max execution and input to 3600 seconds. See: http://forum.pfsense.org/index.php/topic,8878.msg49975.html#msg49975
Diffstat (limited to 'usr/local/www/system_firmware.php')
-rwxr-xr-xusr/local/www/system_firmware.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/usr/local/www/system_firmware.php b/usr/local/www/system_firmware.php
index fe766e3..b6270ba 100755
--- a/usr/local/www/system_firmware.php
+++ b/usr/local/www/system_firmware.php
@@ -33,6 +33,10 @@ $d_isfwfile = 1;
require_once("guiconfig.inc");
require_once("xmlrpc_client.inc");
+/* Allow additional execution time 0 = no limit. */
+ini_set('max_execution_time', '3600');
+ini_set('max_input_time', '3600');
+
/* if upgrade in progress, alert user */
if(file_exists($d_firmwarelock_path)) {
$pgtitle = array("System","Firmware","Manual Update");
OpenPOWER on IntegriCloud