module updates

This commit is contained in:
redmatrix
2016-04-18 20:38:38 -07:00
parent 2a61817bad
commit 2a4e8972e0
317 changed files with 27211 additions and 26132 deletions

15
Zotlabs/Module/Nojs.php Normal file
View File

@@ -0,0 +1,15 @@
<?php
namespace Zotlabs\Module;
class Nojs extends \Zotlabs\Web\Controller {
function init() {
setcookie('jsdisabled', 1, 0);
$p = $_GET['query'];
$hasq = strpos($p,'?');
goaway(z_root() . (($p) ? '/' . $p : '') . (($hasq) ? '' : '?f=' ) . '&jsdisabled=1');
}
}