Просмотр исходного кода

Corrige chargement des icônes spéciales aux thèmes

Corrige
https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32135077
Alexandre Alapetite 12 лет назад
Родитель
Сommit
015ff4caf6
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/FreshRSS.php

+ 1 - 0
app/FreshRSS.php

@@ -116,6 +116,7 @@ class FreshRSS extends Minz_FrontController {
 	private function loadStylesAndScripts ($loginOk) {
 		$theme = FreshRSS_Themes::get_infos($this->conf->theme);
 		if ($theme) {
+			FreshRSS_Themes::setThemeId($this->conf->theme);
 			foreach($theme['files'] as $file) {
 				Minz_View::appendStyle (Minz_Url::display ('/themes/' . $theme['path'] . '/' . $file . '?' . @filemtime(PUBLIC_PATH . '/themes/' . $theme['path'] . '/' . $file)));
 			}