summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v2/remote.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/appinfo/v2/remote.php')
-rw-r--r--apps/dav/appinfo/v2/remote.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v2/remote.php b/apps/dav/appinfo/v2/remote.php
index b4a6578a41a..3a00c8006ec 100644
--- a/apps/dav/appinfo/v2/remote.php
+++ b/apps/dav/appinfo/v2/remote.php
@@ -20,7 +20,9 @@
*
*/
// no php execution timeout for webdav
-set_time_limit(0);
+if (strpos(@ini_get('disable_functions'), 'set_time_limit') === false) {
+ @set_time_limit(0);
+}
ignore_user_abort(true);
// Turn off output buffering to prevent memory problems