1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-01-29 23:14:55 +01:00

Fix percorsi localizzazione

This commit is contained in:
Thomas Zilio 2019-11-05 16:27:41 +01:00
parent a3f09f7c21
commit 096e2f0c62

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;
}