aboutsummaryrefslogtreecommitdiffstats
path: root/include/security.php
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-11-07 19:34:00 -0800
committerzotlabs <mike@macgirvin.com>2017-11-07 19:34:00 -0800
commit92e0c502f76f5a3acc0498f45a0fe836973c554c (patch)
treeabe4ce2326511a2a2fe6228fe310cb968cdb8df6 /include/security.php
parent7b69dc574b1527fc0e16a0c2f91a726132987e2f (diff)
downloadvolse-hubzilla-92e0c502f76f5a3acc0498f45a0fe836973c554c.tar.gz
volse-hubzilla-92e0c502f76f5a3acc0498f45a0fe836973c554c.tar.bz2
volse-hubzilla-92e0c502f76f5a3acc0498f45a0fe836973c554c.zip
make most recent cloud_tiles setting for local channels persistent across logins
Diffstat (limited to 'include/security.php')
-rw-r--r--include/security.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/security.php b/include/security.php
index 450cc4f69..8b7e7d076 100644
--- a/include/security.php
+++ b/include/security.php
@@ -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];
}