summaryrefslogtreecommitdiffstats
path: root/core/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2017-12-04 22:49:01 +0100
committerMorris Jobke <hey@morrisjobke.de>2017-12-08 10:02:41 +0100
commitace96a406a4fea0dcc07abd003495da34b5fa71c (patch)
treee9d651b1c0913c0b343ef2be723ab84434062327 /core/js
parent567757c793faed6925a538571a9e4f5b8b396bfd (diff)
downloadnextcloud-server-ace96a406a4fea0dcc07abd003495da34b5fa71c.tar.gz
nextcloud-server-ace96a406a4fea0dcc07abd003495da34b5fa71c.zip
Show hint that PHP 5.6 will not be supported in Nextcloud 14 anymore
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'core/js')
-rw-r--r--core/js/setupchecks.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/js/setupchecks.js b/core/js/setupchecks.js
index c952c0a9a48..44bf33dd711 100644
--- a/core/js/setupchecks.js
+++ b/core/js/setupchecks.js
@@ -122,6 +122,12 @@
type: OC.SetupChecks.MESSAGE_TYPE_INFO
});
}
+ if(data.phpSupported && data.phpSupported.version.substr(0, 3) === '5.6') {
+ messages.push({
+ msg: t('core', 'You are currently running PHP 5.6. The current major version of Nextcloud is the last that is supported on PHP 5.6. It is recommended to upgrade the PHP version to 7.0+ to be able to upgrade to Nextcloud 14.'),
+ type: OC.SetupChecks.MESSAGE_TYPE_INFO
+ });
+ }
if(!data.forwardedForHeadersWorking) {
messages.push({
msg: t('core', 'The reverse proxy header configuration is incorrect, or you are accessing Nextcloud from a trusted proxy. If not, this is a security issue and can allow an attacker to spoof their IP address as visible to the Nextcloud. Further information can be found in the <a target="_blank" rel="noreferrer noopener" href="{docLink}">documentation</a>.', {docLink: data.reverseProxyDocs}),