diff options
| author | 2021-01-14 17:28:45 -0500 | |
|---|---|---|
| committer | 2021-01-14 23:28:45 +0100 | |
| commit | 29fe125b4a18f7107b50e54c69184c4f1777bbf6 (patch) | |
| tree | d76446252588f6db51b50a697ff7649894817aa2 /app/views/update/checkInstall.phtml | |
| parent | e3457f7d7b56509048e3c1f53f05f278656e976c (diff) | |
Add constant for PHP requirements (#3369)
* Add constant for PHP requirements
This new constant is used for PHP version check.
This way, we won't forget to modify some part of the code base.
* Remove PHP version checks
Some checks were obsolete because they were checking unsupported
PHP versions.
Diffstat (limited to 'app/views/update/checkInstall.phtml')
| -rw-r--r-- | app/views/update/checkInstall.phtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtml index 183f914c0..8a05fa301 100644 --- a/app/views/update/checkInstall.phtml +++ b/app/views/update/checkInstall.phtml @@ -9,7 +9,7 @@ <p class="alert <?= $status ? 'alert-success' : 'alert-error' ?>"> <?php if ($key === 'php') { - echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, '5.6.0'); + echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, FRESHRSS_MIN_PHP_VERSION); } else { echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok')); } |
