From e2ea175ea2ba965d676a6c9867b6657f47bfba8d Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Mon, 23 Mar 2015 15:19:46 +0100 Subject: 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. --- core/js/setupchecks.js | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'core') 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')); } -- cgit v1.2.3