diff options
author | zotlabs <mike@macgirvin.com> | 2017-10-30 18:49:18 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2017-10-30 18:49:18 -0700 |
commit | 71e0e55b0b5bc1746cb481056b027e76c1821ef7 (patch) | |
tree | 7e49ea56994a901398ee49d9c2bc6d8586d58595 /Zotlabs/Module/Cloud_tiles.php | |
parent | 4fef29e61c32b129f0090a4962d91607337a9406 (diff) | |
download | volse-hubzilla-71e0e55b0b5bc1746cb481056b027e76c1821ef7.tar.gz volse-hubzilla-71e0e55b0b5bc1746cb481056b027e76c1821ef7.tar.bz2 volse-hubzilla-71e0e55b0b5bc1746cb481056b027e76c1821ef7.zip |
provide a 'tile' view (view only) mode to mod_cloud
Diffstat (limited to 'Zotlabs/Module/Cloud_tiles.php')
-rw-r--r-- | Zotlabs/Module/Cloud_tiles.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/Zotlabs/Module/Cloud_tiles.php b/Zotlabs/Module/Cloud_tiles.php new file mode 100644 index 000000000..45124cdfa --- /dev/null +++ b/Zotlabs/Module/Cloud_tiles.php @@ -0,0 +1,17 @@ +<?php + +namespace Zotlabs\Module; + +class Cloud_tiles extends \Zotlabs\Web\Controller { + + function init() { + + if(intval($_SESSION['cloud_tiles'])) + $_SESSION['cloud_tiles'] = 0; + else + $_SESSION['cloud_tiles'] = 1; + + goaway(z_root() . '/' . hex2bin(argv(1))); + + } +}
\ No newline at end of file |