diff options
author | James Hogarth <james.hogarth@gmail.com> | 2017-03-01 00:49:06 +0000 |
---|---|---|
committer | James Hogarth <james.hogarth@gmail.com> | 2017-03-01 00:49:06 +0000 |
commit | ff74a2f3b5b2ea97f5d1f148910515e26b376c48 (patch) | |
tree | 6430bcdd6ff78571767522e2046128a07cd5a382 /nextcloud-10.0.3-dont-check-php-version.patch | |
parent | 8d3b8566de3445a209b73d2b25e24b8e4dfb7513 (diff) |
Update to 10.0.4
This also includes:
- a few php7+ bug fixes
- systemd based cron for background tasks
- migration steps from owncloud
Diffstat (limited to 'nextcloud-10.0.3-dont-check-php-version.patch')
-rw-r--r-- | nextcloud-10.0.3-dont-check-php-version.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/nextcloud-10.0.3-dont-check-php-version.patch b/nextcloud-10.0.3-dont-check-php-version.patch index a0dbb17..77bd1ef 100644 --- a/nextcloud-10.0.3-dont-check-php-version.patch +++ b/nextcloud-10.0.3-dont-check-php-version.patch @@ -25,6 +25,31 @@ index b2724db..149c265 100644 function exceptionHandler($exception) { echo "An unhandled exception has been thrown:" . PHP_EOL; echo $exception; +diff --git a/cron.php b/cron.php +index 4473dba..7a4e1a6 100644 +--- a/cron.php ++++ b/cron.php +@@ -30,20 +30,6 @@ + * + */ + +-// Show warning if a PHP version below 5.4.0 is used +-if (version_compare(PHP_VERSION, '5.4.0') === -1) { +- echo 'This version of Nextcloud requires at least PHP 5.4.0<br/>'; +- echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; +- return; +-} +- +-// Show warning if PHP 7.1 is used as Nextcloud is not compatible with PHP 7.1 for now +-// @see https://github.com/nextcloud/docker-ci/issues/10 +-if (version_compare(PHP_VERSION, '7.1.0') !== -1) { +- echo 'This version of Nextcloud is not compatible with PHP 7.1.<br/>'; +- echo 'You are currently running ' . PHP_VERSION . '.'; +- return; +-} + + try { + diff --git a/index.php b/index.php index e72d38c..29920d7 100644 --- a/index.php |