]> git.wh0rd.org - tt-rss.git/blobdiff - prefs.php
feedbrowser hack
[tt-rss.git] / prefs.php
index 89e5f4c2a6051a0ecd7a3eaf4e269f814c9e370c..9f2b2e43b743a2cd3b1d886827986196489d6012 100644 (file)
--- a/prefs.php
+++ b/prefs.php
@@ -40,7 +40,7 @@
        <?php echo stylesheet_tag("lib/dijit/themes/claro/claro.css"); ?>
 
        <?php if ($_SESSION["uid"]) {
-               $theme = get_pref( "USER_CSS_THEME", $_SESSION["uid"], false);
+               $theme = get_pref("USER_CSS_THEME", false, false);
                if ($theme && theme_valid("$theme")) {
                        echo stylesheet_tag(get_theme_path($theme));
                } else {
@@ -80,8 +80,6 @@
                'use strict';
                require({cache:{}});
        <?php
-               require_once 'lib/jshrink/Minifier.php';
-
                print get_minified_js(["functions.js", "prefs.js"]);
        ?>
        </script>