reverse the logic of the jsenabled setting so that sessions without js are performance penalised instead of regular sessions.

This commit is contained in:
redmatrix
2016-04-12 22:55:26 -07:00
parent f4a27afee9
commit 91cc365143
8 changed files with 26 additions and 26 deletions

View File

@@ -13,7 +13,7 @@ function network_init(&$a) {
return;
}
if((count($_GET) < 2) || (count($_GET) < 3 && $_GET['JS'])) {
if(count($_GET) < 2) {
$network_options = get_pconfig(local_channel(),'system','network_page_default');
if($network_options)
goaway('network' . '?f=&' . $network_options);