forked from ZwiiCMS-Team/ZwiiCMS
Bug réinitialisation nouveau initData
This commit is contained in:
parent
45376ce0d7
commit
848a2cf222
@ -794,11 +794,11 @@ class theme extends common {
|
|||||||
$redirect ='';
|
$redirect ='';
|
||||||
switch ($url[0]) {
|
switch ($url[0]) {
|
||||||
case 'admin':
|
case 'admin':
|
||||||
$this->initData('admin');
|
$this->initData('admin', self::$i18nUI);
|
||||||
$redirect = helper::baseUrl() . 'theme/admin';
|
$redirect = helper::baseUrl() . 'theme/admin';
|
||||||
break;
|
break;
|
||||||
case 'manage':
|
case 'manage':
|
||||||
$this->initData('theme');
|
$this->initData('theme', self::$i18nUI);
|
||||||
$redirect = helper::baseUrl() . 'theme/manage';
|
$redirect = helper::baseUrl() . 'theme/manage';
|
||||||
break;
|
break;
|
||||||
case 'custom':
|
case 'custom':
|
||||||
@ -1212,7 +1212,7 @@ class theme extends common {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// Ajoute le préconnect des fontes Googles.
|
// Ajoute le préconnect des fontes Googles.
|
||||||
$fileContent = $gf ? '<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>' . $fileContent
|
$fileContent = $gf ? '<link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>' . $fileContent
|
||||||
: $fileContent;
|
: $fileContent;
|
||||||
|
Loading…
Reference in New Issue
Block a user