summaryrefslogtreecommitdiff
path: root/functions.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2005-11-26 07:48:37 +0100
committerAndrew Dolgov <[email protected]>2005-11-26 07:48:37 +0100
commit503eb3498a037c8772289d4baf6044261b4f9f31 (patch)
treea31abdcce82c206dab96da096af7978947fcf715 /functions.php
parent54a60e1a0001da296b73eee86c27babdb9abd4c3 (diff)
generic theme support, misc compact stylesheet iframe fixes
Diffstat (limited to 'functions.php')
-rw-r--r--functions.php4
1 files changed, 4 insertions, 0 deletions
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;