Fix percorsi localizzazione

This commit is contained in:
Thomas Zilio 2019-11-05 16:27:41 +01:00
parent a3f09f7c21
commit 096e2f0c62
1 changed files with 1 additions and 1 deletions

View File

@ -197,7 +197,7 @@ class App
foreach ($lang_replace as $replace) {
$name = str_replace('|lang|', $replace, $element);
if (file_exists(str_replace(ROOTDIR, DOCROOT, $name))) {
if (file_exists(DOCROOT.str_replace(ROOTDIR, '', $name))) {
$element = $name;
break;
}