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 /core | |
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 'core')
-rw-r--r-- | core/js/setupchecks.js | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js index db5365c124d..d43a356999c 100644 --- a/core/js/setupchecks.js +++ b/core/js/setupchecks.js @@ -59,6 +59,11 @@ t('core', 'Your data directory and your files are probably accessible from the internet. The .htaccess file is not working. We strongly suggest that you configure your webserver in a way that the data directory is no longer accessible or you move the data directory outside the webserver document root.') ); } + if(!data.hasCurlInstalled) { + messages.push( + t('core', 'cURL is not installed, some functionality might not work. Please install the PHP cURL extension. Future versions will require installed cURL.') + ); + } } else { messages.push(t('core', 'Error occurred while checking server setup')); } |