Bug initialisation
This commit is contained in:
parent
78f0d66299
commit
f24f77f32f
@ -206,8 +206,8 @@ class install extends common
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Installation du thème sélectionné
|
// Installation du thème sélectionné
|
||||||
$dataThemes = file_get_contents('core/module/install/ressource/themes/themes.json');
|
$dataThemes = json_decode(file_get_contents('core/module/install/ressource/themes/themes.json'), true);
|
||||||
$dataThemes = json_decode($dataThemes, true);
|
$dataThemes = $dataThemes['themes'];
|
||||||
$themeId = $dataThemes[$this->getInput('installTheme', helper::FILTER_STRING_SHORT)]['filename'];
|
$themeId = $dataThemes[$this->getInput('installTheme', helper::FILTER_STRING_SHORT)]['filename'];
|
||||||
if ($themeId !== 'default') {
|
if ($themeId !== 'default') {
|
||||||
$theme = new theme;
|
$theme = new theme;
|
||||||
|
@ -466,6 +466,8 @@ class blog extends common
|
|||||||
public function config()
|
public function config()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
// Mise à jour des données de module
|
||||||
|
$this->update();
|
||||||
// Ids des articles par ordre de publication
|
// Ids des articles par ordre de publication
|
||||||
$articleIds = array_keys(helper::arrayColumn($this->getData(['module', $this->getUrl(0), 'posts']), 'publishedOn', 'SORT_DESC'));
|
$articleIds = array_keys(helper::arrayColumn($this->getData(['module', $this->getUrl(0), 'posts']), 'publishedOn', 'SORT_DESC'));
|
||||||
// Gestion des droits d'accès
|
// Gestion des droits d'accès
|
||||||
@ -545,8 +547,7 @@ class blog extends common
|
|||||||
|
|
||||||
public function option()
|
public function option()
|
||||||
{
|
{
|
||||||
// Mise à jour des données de module
|
|
||||||
$this->update();
|
|
||||||
// Soumission du formulaire
|
// Soumission du formulaire
|
||||||
if ($this->isPost()) {
|
if ($this->isPost()) {
|
||||||
$this->setData([
|
$this->setData([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user