diff options
author | Mario Vavti <mario@mariovavti.com> | 2018-11-16 10:11:46 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2018-11-16 10:11:46 +0100 |
commit | c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7 (patch) | |
tree | fe411c26c6a7fea7b6d2b54449ec84d0dbe51033 /Zotlabs/Module/Nojs.php | |
parent | ca4e7f9b4fab7035e511582a0755d58e9e4fa2f0 (diff) | |
parent | b0689614bff4272f90b0c3f064ca91b16cb392e0 (diff) | |
download | volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.gz volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.tar.bz2 volse-hubzilla-c69556f2ff9845b9ac1bce89be2431a7ac6d3fd7.zip |
Merge remote-tracking branch 'mike/master' into dev
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); - - } -} |