From: Roland Häder Date: Tue, 27 Oct 2009 20:27:02 +0000 (+0000) Subject: Extension mode added to debug message X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d411a5575f41af78a82b0ed03cdc287b6db3ca9;p=mailer.git Extension mode added to debug message --- 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() )); }