make most recent cloud_tiles setting for local channels persistent across logins

This commit is contained in:
zotlabs
2017-11-07 19:34:00 -08:00
parent 7b69dc574b
commit 92e0c502f7
2 changed files with 5 additions and 0 deletions

View File

@@ -264,6 +264,7 @@ function change_channel($change_channel) {
App::set_channel($r[0]);
$_SESSION['theme'] = $r[0]['channel_theme'];
$_SESSION['mobile_theme'] = get_pconfig(local_channel(),'system', 'mobile_theme');
$_SESSION['cloud_tiles'] = get_pconfig(local_channel(),'system', 'cloud_tiles');
date_default_timezone_set($r[0]['channel_timezone']);
$ret = $r[0];
}