Fix percorsi localizzazione
This commit is contained in:
parent
a3f09f7c21
commit
096e2f0c62
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue