mirror of
https://github.com/e107inc/e107.git
synced 2025-04-20 12:41:51 +02:00
Fixes #4262 - Inaccurate "include" path debug message.
This commit is contained in:
parent
3587075b96
commit
cc223aa7f6
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user