@@ 34-38 (lines=5) @@ | ||
31 | */ |
|
32 | ||
33 | // Show warning if a PHP version below 5.4.0 is used |
|
34 | if (version_compare(PHP_VERSION, '5.4.0') === -1) { |
|
35 | echo 'This version of Nextcloud requires at least PHP 5.4.0<br/>'; |
|
36 | echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; |
|
37 | return; |
|
38 | } |
|
39 | ||
40 | // Show warning if PHP 7.1 is used as Nextcloud is not compatible with PHP 7.1 for now |
|
41 | // @see https://github.com/nextcloud/docker-ci/issues/10 |
@@ 30-34 (lines=5) @@ | ||
27 | ||
28 | // Show warning if a PHP version below 5.4.0 is used, this has to happen here |
|
29 | // because base.php will already use 5.4 syntax. |
|
30 | if (version_compare(PHP_VERSION, '5.4.0') === -1) { |
|
31 | echo 'This version of Nextcloud requires at least PHP 5.4.0<br/>'; |
|
32 | echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; |
|
33 | return; |
|
34 | } |
|
35 | ||
36 | // Show warning if PHP 7.1 is used as Nextcloud is not compatible with PHP 7.1 for now |
|
37 | // @see https://github.com/nextcloud/docker-ci/issues/10 |