From 9d411a5575f41af78a82b0ed03cdc287b6db3ca9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Roland=20H=C3=A4der?= Date: Tue, 27 Oct 2009 20:27:02 +0000 Subject: [PATCH] Extension mode added to debug message --- inc/language-functions.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/inc/language-functions.php b/inc/language-functions.php index 5a339f4fad..48f17fdb27 100644 --- a/inc/language-functions.php +++ b/inc/language-functions.php @@ -179,9 +179,10 @@ function loadLanguageFile ($ext_name = 'none') { loadLanguageInclude($ext_name); } elseif ((isDebugModeEnabled()) && (getOutputMode() == '0') && ($ext_name != 'sql_patches') && (substr($ext_name, 0, 10) != 'admintheme')) { // No language file is not so good... - logDebugMessage(__FUNCTION__, __LINE__, sprintf("NOTICE: Extension %s has no language file or we cannot read from it. lang=%s", + logDebugMessage(__FUNCTION__, __LINE__, sprintf("NOTICE: Extension %s has no language file or we cannot read from it. lang=%s, mode=%s", $ext_name, - getLanguage() + getLanguage(), + getExtensionMode() )); } -- 2.39.5