From 83701418b979841189142ff3e938b2275a4939c0 Mon Sep 17 00:00:00 2001 From: quix0r 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.2