]> source.dussan.org Git - nextcloud-server.git/commitdiff
in case curl is not present we cannot test
authorThomas Müller <thomas.mueller@tmit.eu>
Fri, 8 Feb 2013 14:23:26 +0000 (15:23 +0100)
committerThomas Müller <thomas.mueller@tmit.eu>
Fri, 8 Feb 2013 14:23:26 +0000 (15:23 +0100)
lib/util.php

index 5f796e7565f42e3411a6b4a2c64cf236538ccf8f..7e183041d5435430c91a6f59dfe4db9254378b89 100755 (executable)
@@ -528,6 +528,10 @@ class OC_Util {
         *
         */
        public static function isWebDAVWorking() {
+        if (!function_exists('curl_init')) {
+            return;
+        }
+
                $settings = array(
                        'baseUri' => OC_Helper::linkToRemote('webdav'),
                );