From: Lukas Reschke Date: Thu, 12 Mar 2015 17:39:54 +0000 (+0100) Subject: Add cURL as hard-dependency X-Git-Tag: v8.1.0alpha1~297^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=00f5025ff1baec5bcb3622904fd6d1203be217b8;p=nextcloud-server.git Add cURL as hard-dependency It is required by other functionalities such as S2S anyways and ownCloud will fail hard at a lot of places without it. --- diff --git a/lib/private/util.php b/lib/private/util.php index 72802409da9..11366d450a9 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -583,7 +583,7 @@ class OC_Util { 'DOMDocument' => 'dom', 'XMLWriter' => 'XMLWriter' ), - 'functions' => array( + 'functions' => [ 'xml_parser_create' => 'libxml', 'mb_detect_encoding' => 'mb multibyte', 'ctype_digit' => 'ctype', @@ -592,8 +592,9 @@ class OC_Util { 'gzencode' => 'zlib', 'iconv' => 'iconv', 'simplexml_load_string' => 'SimpleXML', - 'hash' => 'HASH Message Digest Framework' - ), + 'hash' => 'HASH Message Digest Framework', + 'curl_init' => 'cURL', + ], 'defined' => array( 'PDO::ATTR_DRIVER_NAME' => 'PDO' ),