1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-07-30 21:30:14 +02:00

core: Replace PHP_VERSION_REQUIRED by static text

The required PHP version is used in one place only and
therefore shouldn't require a constant
This commit is contained in:
logmanoriginal
2018-11-05 19:07:33 +01:00
parent 946e66e9df
commit 5deb86acff
2 changed files with 2 additions and 4 deletions

View File

@@ -8,8 +8,8 @@ class Configuration {
public static function verifyInstallation() {
// Check PHP version
if(version_compare(PHP_VERSION, PHP_VERSION_REQUIRED) === -1)
die('RSS-Bridge requires at least PHP version ' . PHP_VERSION_REQUIRED . '!');
if(version_compare(PHP_VERSION, '5.6.0') === -1)
die('RSS-Bridge requires at least PHP version 5.6.0!');
// extensions check
if(!extension_loaded('openssl'))