diff options
author | Andrew Dolgov <[email protected]> | 2015-06-05 18:08:19 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2015-06-05 18:08:19 +0300 |
commit | b9634eb8b8cab7329dca8d8173ce381a8c1f81f4 (patch) | |
tree | b252d90f71a975f36fc9620d5636624de3a54fe2 /prefs.php | |
parent | 7c0a2ab2029b98086f02da80adf6a7ebc303fd6f (diff) |
support loading themes from themes.local
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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"); } |