init et update des modules
This commit is contained in:
parent
bd4538ef41
commit
b9b6df3e54
|
@ -5,7 +5,7 @@
|
||||||
"feeds": true,
|
"feeds": true,
|
||||||
"feedsLabel": "Syndication RSS",
|
"feedsLabel": "Syndication RSS",
|
||||||
"itemsperPage": 6,
|
"itemsperPage": 6,
|
||||||
"versionData": "6.7"
|
"versionData": "6.8"
|
||||||
},
|
},
|
||||||
"texts": {
|
"texts": {
|
||||||
"NoComment": "No comment yet",
|
"NoComment": "No comment yet",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"feeds": true,
|
"feeds": true,
|
||||||
"feedsLabel": "Sindicación RSS",
|
"feedsLabel": "Sindicación RSS",
|
||||||
"itemsperPage": 6,
|
"itemsperPage": 6,
|
||||||
"versionData": "6.7"
|
"versionData": "6.8"
|
||||||
},
|
},
|
||||||
"texts": {
|
"texts": {
|
||||||
"NoComment": "Aún no hay comentarios",
|
"NoComment": "Aún no hay comentarios",
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
"feeds": true,
|
"feeds": true,
|
||||||
"feedsLabel": "Syndication RSS",
|
"feedsLabel": "Syndication RSS",
|
||||||
"itemsperPage": 4,
|
"itemsperPage": 4,
|
||||||
"versionData": "6.7"
|
"versionData": "6.8"
|
||||||
},
|
},
|
||||||
"texts": {
|
"texts": {
|
||||||
"NoComment": "Pas encore de commentaire",
|
"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);
|
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');
|
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']);
|
$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