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 09:16:32 +0100 |
commit | 036a8e3c1f116e4f34a735809779accf6c7f3f76 (patch) | |
tree | 356105aa56703cbc14717893ce7153eea92255f9 /console.php | |
parent | 786ff6a5a323e2efe54aa6b736c3fbdf12813d79 (diff) | |
download | nextcloud-server-036a8e3c1f116e4f34a735809779accf6c7f3f76.tar.gz nextcloud-server-036a8e3c1f116e4f34a735809779accf6c7f3f76.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; |