From 503eb3498a037c8772289d4baf6044261b4f9f31 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Sat, 26 Nov 2005 07:48:37 +0100 Subject: generic theme support, misc compact stylesheet iframe fixes --- functions.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'functions.php') diff --git a/functions.php b/functions.php index 89bc07d8e..2dc70a161 100644 --- a/functions.php +++ b/functions.php @@ -617,6 +617,10 @@ 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; -- cgit v1.2.3