diff options
author | zotlabs <mike@macgirvin.com> | 2017-11-07 19:34:00 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-11-07 19:34:00 -0800 |
commit | 92e0c502f76f5a3acc0498f45a0fe836973c554c (patch) | |
tree | abe4ce2326511a2a2fe6228fe310cb968cdb8df6 /Zotlabs/Module/Cloud_tiles.php | |
parent | 7b69dc574b1527fc0e16a0c2f91a726132987e2f (diff) | |
download | volse-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 'Zotlabs/Module/Cloud_tiles.php')
-rw-r--r-- | Zotlabs/Module/Cloud_tiles.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Zotlabs/Module/Cloud_tiles.php b/Zotlabs/Module/Cloud_tiles.php index 45124cdfa..da551904f 100644 --- a/Zotlabs/Module/Cloud_tiles.php +++ b/Zotlabs/Module/Cloud_tiles.php @@ -11,6 +11,10 @@ class Cloud_tiles extends \Zotlabs\Web\Controller { else $_SESSION['cloud_tiles'] = 1; + if(local_channel()) { + set_pconfig(local_channel(),'system','cloud_tiles',$_SESSION['cloud_tiles']); + } + goaway(z_root() . '/' . hex2bin(argv(1))); } |