forked from ZwiiCMS-Team/ZwiiCMS
Appel automatique des initCSS lors de la mise à jour vers 10600
This commit is contained in:
parent
55c921025a
commit
43da5f03db
@ -1599,12 +1599,12 @@ class common {
|
|||||||
$pageList [] = $childKey;
|
$pageList [] = $childKey;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// Parcourir pageList et rechercher les modules au CSS autonome
|
// Parcourir pageList et rechercher les modules au CSS autonomes
|
||||||
foreach ($pageList as $parentKey => $parent) {
|
foreach ($pageList as $parentKey => $parent) {
|
||||||
// Module search
|
|
||||||
echo $parent;
|
|
||||||
if (
|
if (
|
||||||
$this->getData(['page',$parent,'moduleId']) === 'search'
|
$this->getData(['page',$parent,'moduleId']) === 'search'
|
||||||
|
|| $this->getData(['page',$parent,'moduleId']) === 'gallery'
|
||||||
|
|| $this->getData(['page',$parent,'moduleId']) === 'news'
|
||||||
){
|
){
|
||||||
if(class_exists($parent)) {
|
if(class_exists($parent)) {
|
||||||
$module = new $moduleId;
|
$module = new $moduleId;
|
||||||
@ -1612,10 +1612,9 @@ class common {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
die();
|
$this->setData(['core', 'dataVersion', 10600]);
|
||||||
//$this->setData(['core', 'dataVersion', 10600]);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user