mirror of
https://github.com/nextcloud/server.git
synced 2026-05-28 04:32:30 -04:00
in case curl is not present we cannot test
This commit is contained in:
parent
5788d36c8d
commit
ea42014ba4
1 changed files with 4 additions and 0 deletions
|
|
@ -528,6 +528,10 @@ class OC_Util {
|
|||
*
|
||||
*/
|
||||
public static function isWebDAVWorking() {
|
||||
if (!function_exists('curl_init')) {
|
||||
return;
|
||||
}
|
||||
|
||||
$settings = array(
|
||||
'baseUri' => OC_Helper::linkToRemote('webdav'),
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue