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:
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…
x
Reference in New Issue
Block a user