diff options
author | Lukas Reschke <lukas@owncloud.com> | 2015-03-23 15:19:46 +0100 |
---|---|---|
committer | Lukas Reschke <lukas@owncloud.com> | 2015-03-23 15:19:46 +0100 |
commit | e2ea175ea2ba965d676a6c9867b6657f47bfba8d (patch) | |
tree | a869f778799b6aceef8f428781dc44d5cffc407d /settings | |
parent | 31de51eacc5474a816eedb63abfecb692e1f2bc6 (diff) | |
download | nextcloud-server-e2ea175ea2ba965d676a6c9867b6657f47bfba8d.tar.gz nextcloud-server-e2ea175ea2ba965d676a6c9867b6657f47bfba8d.zip |
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.php | 3 |
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'), ) ); |