improved log message formatting
This commit is contained in:
parent
e202ce9f86
commit
43a2e6b075
@ -66,7 +66,7 @@ logMessage('Starting ManiaControl...');
|
|||||||
function checkRequirements() {
|
function checkRequirements() {
|
||||||
// Check for min PHP version
|
// Check for min PHP version
|
||||||
$phpVersion = phpversion();
|
$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) {
|
if ($phpVersion < MIN_PHP_VERSION) {
|
||||||
logMessage($message . $phpVersion . ' TOO OLD VERSION!');
|
logMessage($message . $phpVersion . ' TOO OLD VERSION!');
|
||||||
logMessage(' -- Make sure that you install at least PHP ' . MIN_PHP_VERSION . '!');
|
logMessage(' -- Make sure that you install at least PHP ' . MIN_PHP_VERSION . '!');
|
||||||
|
@ -97,7 +97,7 @@ class ManiaControl implements CommandListener, TimerListener {
|
|||||||
// Construct Error Handler
|
// Construct Error Handler
|
||||||
$this->errorHandler = new ErrorHandler($this);
|
$this->errorHandler = new ErrorHandler($this);
|
||||||
|
|
||||||
$this->log('Loading ManiaControl v' . self::VERSION . '...');
|
$this->log('Loading ManiaControl v' . self::VERSION . ' ...');
|
||||||
|
|
||||||
$this->loadConfig();
|
$this->loadConfig();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user