diff --git a/setup.php b/setup.php index 01b9b1e..fa41e3f 100644 --- a/setup.php +++ b/setup.php @@ -27,8 +27,8 @@ $html .= '
It seems that you are running this version of OpenSMTPD Admin for the first time.
'; $html .= 'PHP version: | '; -$html .= (version_compare(PHP_VERSION, '7.4.0') >= 0) ? '' . phpversion() . ' | ' : '' . phpversion() . ' | '; +$html .= 'PHP: | '; +$html .= (version_compare(PHP_VERSION, '7.4.0') >= 0) ? 'At least 7.4 | ' : 'Unsupported version (=< 7.3) | '; $html .= '
SQL support: | '; $html .= (extension_loaded('mysqli')) ? 'MySQL/MariaDB' : ' | MySQL/MariaDB'; @@ -40,7 +40,7 @@ $html .= (function_exists('get_magic_quotes_gpc')) ? ' - session_start | ' : ' - session_start'; $html .= '
Copy the
config.inc.php.sampleto
config.inc.php, edit it to your environment and delete
setup.php' +$html .= '
Copy the
config.inc.php.sampleto
config.inc.phpand edit it to your environment and delete setup.php'; $html .= '