diff options
author | Mark Crane <mcrane@pfsense.org> | 2008-04-27 06:20:40 +0000 |
---|---|---|
committer | Mark Crane <mcrane@pfsense.org> | 2008-04-27 06:20:40 +0000 |
commit | 47d11b79b44c01f946ec418ab4d9b72eca7426fb (patch) | |
tree | b95461e8dab20cf8d11d1fb641c885caef798a57 | |
parent | be3911ca51b8b76b7908ee55cae19dbe3a2e70d1 (diff) | |
download | pfsense-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
-rwxr-xr-x | usr/local/www/diag_backup.php | 4 | ||||
-rwxr-xr-x | usr/local/www/system_firmware.php | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php index f97d864..165c203 100755 --- a/usr/local/www/diag_backup.php +++ b/usr/local/www/diag_backup.php @@ -31,6 +31,10 @@ POSSIBILITY OF SUCH DAMAGE. */ +/* Allow additional execution time 0 = no limit. */ +ini_set('max_execution_time', '3600'); +ini_set('max_input_time', '3600'); + /* omit no-cache headers because it confuses IE with file downloads */ $omit_nocacheheaders = true; require("guiconfig.inc"); 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"); |