diff options
author | alecpl <alec@alec.pl> | 2011-10-03 09:25:33 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2011-10-03 09:25:33 +0000 |
commit | e877681c2001c78809a43bbccdb728142e8e59da (patch) | |
tree | 59da7d47886f2b407932b20d2c256500f17a96a9 /program/include/clisetup.php | |
parent | e750d1b8164a7a1e584c77d3ef4113b4fcf3da39 (diff) |
- Disable time limit for CLI scripts (#1488109)
Diffstat (limited to 'program/include/clisetup.php')
-rw-r--r-- | program/include/clisetup.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/program/include/clisetup.php b/program/include/clisetup.php index 7a818110e..01d7291ec 100644 --- a/program/include/clisetup.php +++ b/program/include/clisetup.php @@ -25,6 +25,8 @@ if (php_sapi_name() != 'cli') { require_once INSTALL_PATH . 'program/include/iniset.php'; +// Unset max. execution time limit, set to 120 seconds in iniset.php +@set_time_limit(0); /** * Parse commandline arguments into a hash array |