init et update des modules

This commit is contained in:
Deltacms 2023-08-29 08:34:23 +02:00
parent bd4538ef41
commit b9b6df3e54
4 changed files with 8 additions and 4 deletions

View File

@ -5,7 +5,7 @@
"feeds": true,
"feedsLabel": "Syndication RSS",
"itemsperPage": 6,
"versionData": "6.7"
"versionData": "6.8"
},
"texts": {
"NoComment": "No comment yet",

View File

@ -5,7 +5,7 @@
"feeds": true,
"feedsLabel": "Sindicación RSS",
"itemsperPage": 6,
"versionData": "6.7"
"versionData": "6.8"
},
"texts": {
"NoComment": "Aún no hay comentarios",

View File

@ -5,7 +5,7 @@
"feeds": true,
"feedsLabel": "Syndication RSS",
"itemsperPage": 4,
"versionData": "6.7"
"versionData": "6.8"
},
"texts": {
"NoComment": "Pas encore de commentaire",

View File

@ -96,7 +96,11 @@ class statislite extends common {
if( !is_dir( self::DATAMODULE.'/download_counter' ))mkdir( self::DATAMODULE.'/download_counter', 0755);
copy('./module/statislite/ressource/download_counter/download_counter.php', self::DATAMODULE.'/download_counter/download_counter.php');
$this->setData(['module', $this->getUrl(0), 'config', 'versionData','4.7']);
}
}
// Version 4.8
if (version_compare($this->getData(['module', $this->getUrl(0), 'config', 'versionData']), '4.8', '<') ) {
$this->setData(['module', $this->getUrl(0), 'config', 'versionData','4.8']);
}
}
/**