diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-03-12 18:39:54 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-03-12 18:39:54 +0100 |
commit | 00f5025ff1baec5bcb3622904fd6d1203be217b8 (patch) | |
tree | ee1d865fce3ab1f4c8ec69b4d1362cb225684e46 /lib | |
parent | 23cc3cc5f2f42166c37fbe03fa62d3dd1dbfe5ed (diff) | |
download | nextcloud-server-00f5025ff1baec5bcb3622904fd6d1203be217b8.tar.gz nextcloud-server-00f5025ff1baec5bcb3622904fd6d1203be217b8.zip |
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 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' ), |