summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo/v1/webdav.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/dav/appinfo/v1/webdav.php')
-rw-r--r--apps/dav/appinfo/v1/webdav.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/dav/appinfo/v1/webdav.php b/apps/dav/appinfo/v1/webdav.php
index 5ad11ceada8..32f93b27760 100644
--- a/apps/dav/appinfo/v1/webdav.php
+++ b/apps/dav/appinfo/v1/webdav.php
@@ -24,7 +24,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