init et update des modules
This commit is contained in:
parent
bd4538ef41
commit
b9b6df3e54
|
@ -5,7 +5,7 @@
|
|||
"feeds": true,
|
||||
"feedsLabel": "Syndication RSS",
|
||||
"itemsperPage": 6,
|
||||
"versionData": "6.7"
|
||||
"versionData": "6.8"
|
||||
},
|
||||
"texts": {
|
||||
"NoComment": "No comment yet",
|
||||
|
|
|
@ -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",
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
"feeds": true,
|
||||
"feedsLabel": "Syndication RSS",
|
||||
"itemsperPage": 4,
|
||||
"versionData": "6.7"
|
||||
"versionData": "6.8"
|
||||
},
|
||||
"texts": {
|
||||
"NoComment": "Pas encore de commentaire",
|
||||
|
|
|
@ -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']);
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue