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 5a339f4..48f17fd 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()
                ));
        }