#43 - fixed
Dieser Commit ist enthalten in:
Ursprung
8987db8e69
Commit
23538e80bb
|
@ -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
|
||||||
|
|
Laden…
In neuem Issue referenzieren