diff options
author | zotlabs <mike@macgirvin.com> | 2018-11-15 15:35:06 -0800 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2018-11-15 15:35:06 -0800 |
commit | a7d2f9b53005f0c27ddfe1ef32fab78591c5374f (patch) | |
tree | d6d7fc8de25e9263a9d49c9531830f5890e13181 /Zotlabs/Module/Nojs.php | |
parent | b11858bcaca9a5784f37e5b69eb7ca6096d0bde3 (diff) | |
download | volse-hubzilla-a7d2f9b53005f0c27ddfe1ef32fab78591c5374f.tar.gz volse-hubzilla-a7d2f9b53005f0c27ddfe1ef32fab78591c5374f.tar.bz2 volse-hubzilla-a7d2f9b53005f0c27ddfe1ef32fab78591c5374f.zip |
remove checkjs and nojs
Diffstat (limited to 'Zotlabs/Module/Nojs.php')
-rw-r--r-- | Zotlabs/Module/Nojs.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/Zotlabs/Module/Nojs.php b/Zotlabs/Module/Nojs.php deleted file mode 100644 index 5f3d80ecd..000000000 --- a/Zotlabs/Module/Nojs.php +++ /dev/null @@ -1,15 +0,0 @@ -<?php -namespace Zotlabs\Module; - - -class Nojs extends \Zotlabs\Web\Controller { - - function init() { - $n = ((argc() > 1) ? intval(argv(1)) : 1); - setcookie('jsdisabled', $n, 0, '/'); - $p = hex2bin($_GET['redir']); - $hasq = strpbrk($p,'?&'); - goaway(z_root() . (($p) ? '/' . $p : '') . (($hasq) ? '' : '?f=' ) . '&jsdisabled=' . $n); - - } -} |