diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-16 09:16:32 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-02-16 15:36:53 +0100 |
commit | 8bd2f2eb2380f0a96e8ee4f13e118c54248a2b44 (patch) | |
tree | e0c9c90a6819b788ef03a1bbb28bae77fed26f70 /console.php | |
parent | 676c91d4a3cf5f97b7d0047153cf56f1c9d1dcdb (diff) | |
download | nextcloud-server-8bd2f2eb2380f0a96e8ee4f13e118c54248a2b44.tar.gz nextcloud-server-8bd2f2eb2380f0a96e8ee4f13e118c54248a2b44.zip |
console commands shall not be limited with respect to execution time - fixes #14156
Diffstat (limited to 'console.php')
-rw-r--r-- | console.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/console.php b/console.php index 6d3ab20bc16..cbb11d2a5fd 100644 --- a/console.php +++ b/console.php @@ -11,6 +11,9 @@ use Symfony\Component\Console\Application; try { require_once 'lib/base.php'; + // set to run indefinitely if needed + set_time_limit(0); + // Don't do anything if ownCloud has not been installed yet if (!\OC::$server->getConfig()->getSystemValue('installed', false)) { echo "Console can only be used once ownCloud has been installed" . PHP_EOL; |