13002
This commit is contained in:
parent
e2bd95780b
commit
31910f6e94
@ -42,7 +42,7 @@ if (file_exists('site/data/core.json')) {
|
||||
foreach ($t as $k => $v) {
|
||||
if (file_exists($k)) {
|
||||
$d = file_get_contents($k);
|
||||
$d = str_replace(basename($k, '.json'), basename($v, '.json'), $d);
|
||||
$d = str_replace('"' . basename($k, '.json') . '"' , '"' . basename($v, '.json') . '"', $d);
|
||||
file_put_contents($v, $d);
|
||||
unlink($k);
|
||||
}
|
||||
@ -50,6 +50,9 @@ if (file_exists('site/data/core.json')) {
|
||||
if (file_exists('core/module/install/ressource/i18n/languages.json')) {
|
||||
unlink('core/module/install/ressource/i18n/languages.json');
|
||||
}
|
||||
if (file_exists('core/module/install/ressource/i18n/fontes.json')) {
|
||||
unlink('core/module/install/ressource/i18n/fonte.json');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user