]> git.mxchange.org Git - mailer.git/commitdiff
Extension mode added to debug message
authorRoland Häder <roland@mxchange.org>
Tue, 27 Oct 2009 20:27:02 +0000 (20:27 +0000)
committerRoland Häder <roland@mxchange.org>
Tue, 27 Oct 2009 20:27:02 +0000 (20:27 +0000)
inc/language-functions.php

index 5a339f4fade08abe79dfb04892a2ae373f3ba9e7..48f17fdb2719b5b5a7d74b67086d5b2cff0a3c7b 100644 (file)
@@ -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()
                ));
        }