summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-12 23:32:15 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2014-01-12 23:32:15 +0100
commit015ff4caf6911439232f46d5190c5771dde8bb89 (patch)
treea4ea72611c055e44c0090536aa1c2336b348b79a
parent4de5e6c2756f2a300014b80108cf2bf5e91f69a3 (diff)
Corrige chargement des icônes spéciales aux thèmes
Corrige https://github.com/marienfressinaud/FreshRSS/issues/327#issuecomment-32135077
-rw-r--r--app/FreshRSS.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php
index 4c462c835..e64a1986b 100644
--- a/app/FreshRSS.php
+++ b/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)));
}