preupdate database

This commit is contained in:
Fred Tempez 2023-03-10 15:52:09 +01:00
parent 2455ec0f28
commit 6641556084

View File

@ -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')) {