1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fixes #4262 - Inaccurate "include" path debug message.

This commit is contained in:
Cameron
2020-11-02 10:30:41 -08:00
parent 3587075b96
commit cc223aa7f6

View File

@@ -3323,6 +3323,13 @@ class e107
if(deftrue('E107_DBG_INCLUDES'))
{
$adminLanguage = self::getPref('adminlanguage');
if(e_ADMIN_AREA && !empty($adminLanguage))
{
$path = str_replace(e_LANGUAGE, $adminLanguage, $path);
}
self::getMessage()->addDebug("Attempting to Load: ".$path);
}