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

remove theme supports-version etc checking

This commit is contained in:
Andrew Dolgov
2018-12-09 11:37:26 +03:00
parent b2c079893b
commit 703351c79e
4 changed files with 7 additions and 26 deletions

View File

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