update main with develop #48

Zusammengeführt
Oldperl hat 218 Commits von develop nach main 2023-10-16 16:14:01 +00:00 zusammengeführt
1 geänderte Dateien mit 2 neuen und 3 gelöschten Zeilen
Nur Änderungen aus Commit 23538e80bb werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -184,7 +184,6 @@ class Template {
global $cCurrentModule; global $cCurrentModule;
$cfg = cRegistry::getConfig(); $cfg = cRegistry::getConfig();
$aCfgClient = cRegistry::getClientConfig(cRegistry::getClientId());
$bModTplUsed = FALSE; $bModTplUsed = FALSE;
if (isset($cCurrentModule) && $cfg['dceModEdit']['use']) { if (isset($cCurrentModule) && $cfg['dceModEdit']['use']) {
@ -201,8 +200,8 @@ class Template {
} }
} }
if (is_file("templates/" . $template) && !$bModTplUsed) { if (is_file(cRegistry::getFrontendPath() . "templates/" . $template) && !$bModTplUsed) {
$template = "templates/" . $template; $template = cRegistry::getFrontendPath() . "templates/" . $template;
} }
//check if the template is a file or a string //check if the template is a file or a string