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

fix get_pref always using default profile; remove unneeded code from db_prefs

This commit is contained in:
Andrew Dolgov
2021-02-25 12:53:20 +03:00
parent bd2314170d
commit 2621fe7955
4 changed files with 6 additions and 169 deletions

View File

@@ -29,7 +29,7 @@
<meta name="viewport" content="initial-scale=1,width=device-width" />
<?php if ($_SESSION["uid"] && empty($_SESSION["safe_mode"])) {
$theme = get_pref("USER_CSS_THEME", false, false);
$theme = get_pref("USER_CSS_THEME");
if ($theme && theme_exists("$theme")) {
echo stylesheet_tag(get_theme_path($theme), 'theme_css');
}