dev003 bugs

This commit is contained in:
Fred Tempez 2022-08-24 20:11:07 +02:00
parent c12978f93a
commit 06b32aa54e
3 changed files with 8 additions and 5 deletions

View File

@ -870,7 +870,9 @@ if ($this->getData(['core', 'dataVersion']) < 11600) {
$this->deleteData(['config','i18n', 'scriptGoogle']);
$this->deleteData(['config','i18n', 'showCredits']);
$this->deleteData(['config','i18n', 'autoDetect']);
$this->removeDir('core/vendor/i18n/css');
if (is_dir('core/vendor/i18n/css')) {
$this->removeDir('core/vendor/i18n/css');
}
// Nettoyage
if (file_exists('core/module/translate/ressource/googtrans.png')){
unlink('core/module/translate/ressource/googtrans.png');
@ -878,8 +880,9 @@ if ($this->getData(['core', 'dataVersion']) < 11600) {
if (file_exists('core/vendor/i18n/inc.json')){
unlink('core/vendor/i18n/inc.json');
}
if (file_exits('core/vendor/i18n/translate.js')){
unlink('core/vendor/i18n/translate.js');}
if (file_exists('core/vendor/i18n/translate.js')){
unlink('core/vendor/i18n/translate.js');
}
if (file_exists('core/vendor/i18n/translation.js')){
unlink('core/vendor/i18n/translation.js');
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.4 KiB