aboutsummaryrefslogtreecommitdiff
path: root/app/install.php
diff options
context:
space:
mode:
authorGravatar Alexis Degrugillier <aledeg@users.noreply.github.com> 2021-01-14 17:28:45 -0500
committerGravatar GitHub <noreply@github.com> 2021-01-14 23:28:45 +0100
commit29fe125b4a18f7107b50e54c69184c4f1777bbf6 (patch)
treed76446252588f6db51b50a697ff7649894817aa2 /app/install.php
parente3457f7d7b56509048e3c1f53f05f278656e976c (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/install.php')
-rw-r--r--app/install.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/install.php b/app/install.php
index bb7d9de9d..5e75fe42c 100644
--- a/app/install.php
+++ b/app/install.php
@@ -371,7 +371,7 @@ function printStep1() {
<?php if ($res['php'] == 'ok') { ?>
<p class="alert alert-success"><span class="alert-head"><?= _t('gen.short.ok') ?></span> <?= _t('install.check.php.ok', PHP_VERSION) ?></p>
<?php } else { ?>
- <p class="alert alert-error"><span class="alert-head"><?= _t('gen.short.damn') ?></span> <?= _t('install.check.php.nok', PHP_VERSION, '5.6.0') ?></p>
+ <p class="alert alert-error"><span class="alert-head"><?= _t('gen.short.damn') ?></span> <?= _t('install.check.php.nok', PHP_VERSION, FRESHRSS_MIN_PHP_VERSION) ?></p>
<?php } ?>
<?php if ($res['pdo'] == 'ok') { ?>