]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
support loading themes from themes.local
[tt-rss.git] / prefs.php
index 191f452c4e11cad86e0639cbe238ef45447244e6..b20678abebdc577501403a01af7ef5553861e991 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -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");
                }