diff options
Diffstat (limited to 'index.php')
-rw-r--r-- | index.php | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/index.php b/index.php index abe30d48aba..858e433b98a 100644 --- a/index.php +++ b/index.php @@ -28,13 +28,7 @@ * */ -// Show warning if a PHP version below 5.6.0 is used, this has to happen here -// because base.php will already use 5.6 syntax. -if (version_compare(PHP_VERSION, '5.6.0') === -1) { - echo 'This version of Nextcloud requires at least PHP 5.6.0<br/>'; - echo 'You are currently running ' . PHP_VERSION . '. Please update your PHP version.'; - return; -} +require_once __DIR__ . '/lib/versioncheck.php'; try { |