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.
This commit is contained in:
Lukas Reschke 2015-03-12 18:39:54 +01:00
parent 23cc3cc5f2
commit 00f5025ff1

View file

@ -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'
),