improved log message formatting

This commit is contained in:
Steffen Schröder
2014-06-12 15:50:13 +02:00
parent e202ce9f86
commit 43a2e6b075
2 changed files with 2 additions and 2 deletions

View File

@ -66,7 +66,7 @@ logMessage('Starting ManiaControl...');
function checkRequirements() {
// Check for min PHP version
$phpVersion = phpversion();
$message = 'Checking for minimum required PHP-Version' . MIN_PHP_VERSION . ' ...';
$message = 'Checking for minimum required PHP-Version ' . MIN_PHP_VERSION . ' ... ';
if ($phpVersion < MIN_PHP_VERSION) {
logMessage($message . $phpVersion . ' TOO OLD VERSION!');
logMessage(' -- Make sure that you install at least PHP ' . MIN_PHP_VERSION . '!');