aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Module/Nojs.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
committerMario Vavti <mario@mariovavti.com>2018-11-16 10:11:46 +0100
commitc69556f2ff9845b9ac1bce89be2431a7ac6d3fd7 (patch)
treefe411c26c6a7fea7b6d2b54449ec84d0dbe51033 /Zotlabs/Module/Nojs.php
parentca4e7f9b4fab7035e511582a0755d58e9e4fa2f0 (diff)
parentb0689614bff4272f90b0c3f064ca91b16cb392e0 (diff)
downloadvolse-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.php15
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);
-
- }
-}