1
0
Fork 0

allow individual choice of mobile themes

This commit is contained in:
Zach Prezkuta 2012-09-06 17:24:34 -06:00
commit 77529ccdf1
17 changed files with 69 additions and 24 deletions

View file

@ -145,6 +145,7 @@ class FKOAuth1 extends OAuthServer {
}
$_SESSION['uid'] = $record['uid'];
$_SESSION['theme'] = $record['theme'];
$_SESSION['mobile-theme'] = get_pconfig($record['uid'], 'system', 'mobile_theme');
$_SESSION['authenticated'] = 1;
$_SESSION['page_flags'] = $record['page-flags'];
$_SESSION['my_url'] = $a->get_baseurl() . '/profile/' . $record['nickname'];