Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukas Reschke <lukas@owncloud.com>2015-03-23 17:19:46 +0300
committerLukas Reschke <lukas@owncloud.com>2015-03-23 17:19:46 +0300
commite2ea175ea2ba965d676a6c9867b6657f47bfba8d (patch)
treea869f778799b6aceef8f428781dc44d5cffc407d /settings
parent31de51eacc5474a816eedb63abfecb692e1f2bc6 (diff)
Remove hard dependency on cURL for 8.0
This removes the recently introduced hard dependency on cURL for 8.0, for 8.1 it will still stay there. Instead a warning will now be shown to the user asking to install the PHP cURL extension within the administrative interface of ownCloud.
Diffstat (limited to 'settings')
-rw-r--r--settings/ajax/checksetup.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/settings/ajax/checksetup.php b/settings/ajax/checksetup.php
index 64718933317..3e226c5aa38 100644
--- a/settings/ajax/checksetup.php
+++ b/settings/ajax/checksetup.php
@@ -19,6 +19,7 @@ if (OC_Util::isInternetConnectionEnabled()) {
OCP\JSON::success(
array (
'serverHasInternetConnection' => $hasInternet,
- 'dataDirectoryProtected' => OC_Util::isHtaccessWorking()
+ 'dataDirectoryProtected' => OC_Util::isHtaccessWorking(),
+ 'hasCurlInstalled' => function_exists('curl_init'),
)
);