From 2634666d898bbf5f9ca8eb7bc0a949f77f88053d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Michael=20O=2E=20Hegg=C3=B8?= Date: Mon, 1 Oct 2018 15:45:17 +0200 Subject: [PATCH] Fix config migration of LOG_FILE_NAME=null Fixes #801 --- migrate-config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/migrate-config.php b/migrate-config.php index 08cbf1936..4caa082d3 100644 --- a/migrate-config.php +++ b/migrate-config.php @@ -69,7 +69,7 @@ function parse_vocabularies_file($vocabulariesFile) $transitiveLimit = defined('DEFAULT_TRANSITIVE_LIMIT') ? DEFAULT_TRANSITIVE_LIMIT : "?"; $logCaughtExceptions = defined('LOG_CAUGHT_EXCEPTIONS') ? (LOG_CAUGHT_EXCEPTIONS ? "true" : "false") : "?"; $logBrowserConsole = defined('LOG_BROWSER_CONSOLE') ? (LOG_BROWSER_CONSOLE ? "true" : "false") : "?"; -$logFileName = defined('LOG_FILE_NAME') ? LOG_FILE_NAME : "?"; +$logFileName = defined('LOG_FILE_NAME') && !empty(LOG_FILE_NAME) ? LOG_FILE_NAME : "?"; $templateCache = defined('TEMPLATE_CACHE') ? TEMPLATE_CACHE : "?"; $customCss = defined('CUSTOM_CSS') ? CUSTOM_CSS : "?"; $feedbackAddress = defined('FEEDBACK_ADDRESS') ? FEEDBACK_ADDRESS : "?";