From e61c6f4c11ef04d17567e75a51923b1be7c9c810 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Wed, 14 May 2014 00:38:16 +0200 Subject: [PATCH] moved constant away from configurable section --- application/ManiaControl.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/ManiaControl.php b/application/ManiaControl.php index f4b44eac..b26ee492 100644 --- a/application/ManiaControl.php +++ b/application/ManiaControl.php @@ -4,7 +4,6 @@ define('LOG_WRITE_CURRENT_FILE', 'ManiaControl.log'); // Write current log to extra file in base dir define('LOG_NAME_USE_DATE', true); // Use current date as suffix for log file name in logs folder define('LOG_NAME_USE_PID', true); // Use current process id as suffix for log file name in logs folder -define('MIN_PHP_VERSION', "5.4"); // Define base dir define('ManiaControlDir', __DIR__ . DIRECTORY_SEPARATOR); @@ -48,6 +47,7 @@ if (LOG_WRITE_CURRENT_FILE) { logMessage('Starting ManiaControl ...'); /** Check for Min PHP version */ +define('MIN_PHP_VERSION', '5.4'); logMessage('Checking for minimum required PHP-Version ' . MIN_PHP_VERSION . ' ... ', false); if (phpversion() >= MIN_PHP_VERSION) { logMessage(phpversion() . " OK!", true, false);