diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-03-12 20:39:54 +0300 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-03-12 20:45:12 +0300 |
commit | 096ccb7a7b8882b97c61daf26d02a0ca4a67d84c (patch) | |
tree | 5a1737c2317441e4e72dd40b0e6873f6f6a08a1e /lib | |
parent | e416b469de873105bcc0c30590d51207d67eeb34 (diff) |
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.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/private/util.php | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/private/util.php b/lib/private/util.php index 66574a53b57..f1636486660 100644 --- a/lib/private/util.php +++ b/lib/private/util.php @@ -577,7 +577,7 @@ class OC_Util { 'DOMDocument' => 'dom', 'XMLWriter' => 'XMLWriter' ), - 'functions' => array( + 'functions' => [ 'xml_parser_create' => 'libxml', 'mb_detect_encoding' => 'mb multibyte', 'ctype_digit' => 'ctype', @@ -586,8 +586,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' ) |