A free, self-hostable news aggregator…
Check minimum PHP 5.3.0+
Alexandre Alapetiteea4deb6e0568
diff --git a/app/install.php b/app/install.phpindex b47effc84..062f66814 100644--- a/app/install.php+++ b/app/install.php@@ -309,7 +309,7 @@ function checkStep0() {}function checkStep1() {- $php = version_compare(PHP_VERSION, '5.2.1') >= 0;+ $php = version_compare(PHP_VERSION, '5.3.0') >= 0;$minz = file_exists(join_path(LIB_PATH, 'Minz'));$curl = extension_loaded('curl');$pdo_mysql = extension_loaded('pdo_mysql');@@ -536,7 +536,7 @@ function printStep1() {<?php if ($res['php'] == 'ok') { ?><p class="alert alert-success"><span class="alert-head"><?php echo _t('gen.short.ok'); ?></span> <?php echo _t('install.check.php.ok', PHP_VERSION); ?></p><?php } else { ?>- <p class="alert alert-error"><span class="alert-head"><?php echo _t('gen.short.damn'); ?></span> <?php echo _t('install.check.php.nok', PHP_VERSION, '5.2.1'); ?></p>+ <p class="alert alert-error"><span class="alert-head"><?php echo _t('gen.short.damn'); ?></span> <?php echo _t('install.check.php.nok', PHP_VERSION, '5.3.0'); ?></p><?php } ?><?php if ($res['minz'] == 'ok') { ?>diff --git a/app/views/update/checkInstall.phtml b/app/views/update/checkInstall.phtmlindex a92860c7e..ed3858b56 100644--- a/app/views/update/checkInstall.phtml+++ b/app/views/update/checkInstall.phtml@@ -9,7 +9,7 @@<p class="alert <?php echo $status ? 'alert-success' : 'alert-error'; ?>"><?phpif ($key === 'php') {- echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, '5.2.1');+ echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'), PHP_VERSION, '5.3.0');} else {echo _t('admin.check_install.' . $key . '.' . ($status ? 'ok' : 'nok'));}