]> git.wh0rd.org - tt-rss.git/blobdiff - functions.php
generic theme support, misc compact stylesheet iframe fixes
[tt-rss.git] / functions.php
index 89bc07d8e4bd75a28d4cf34d0f5a8ec4fa8af596..2dc70a1612c9f26b3f637db7f997fba42caaf78c 100644 (file)
                        db_query($link, "UPDATE ttrss_users SET last_login = NOW() WHERE id = " . 
                                $_SESSION["uid"]);
 
+                       $user_theme = get_user_theme_path($link);
+
+                       $_SESSION["theme"] = $user_theme;
+
                        initialize_user_prefs($link, $_SESSION["uid"]);
 
                        return true;