preupdate database
This commit is contained in:
parent
2455ec0f28
commit
6641556084
@ -39,7 +39,7 @@ if (file_exists('site/data/core.json')) {
|
|||||||
$d = file_get_contents($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);
|
file_put_contents($v, $d);
|
||||||
|
unlink($k);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (file_exists('core/module/install/ressource/i18n/languages.json')) {
|
if (file_exists('core/module/install/ressource/i18n/languages.json')) {
|
||||||
|
Loading…
Reference in New Issue
Block a user