1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2025-12-13 17:45:55 +00:00

support loading themes from themes.local

This commit is contained in:
Andrew Dolgov
2015-06-05 18:08:19 +03:00
parent 7c0a2ab202
commit b9634eb8b8
6 changed files with 20 additions and 8 deletions

View File

@@ -42,7 +42,7 @@
<?php if ($_SESSION["uid"]) {
$theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
if ($theme && theme_valid("$theme")) {
echo stylesheet_tag("themes/$theme");
echo stylesheet_tag(get_theme_path($theme));
} else {
echo stylesheet_tag("themes/default.css");
}