From 71a9c867d101d9341b2e5a0b642d3b510c740a63 Mon Sep 17 00:00:00 2001 From: Andreas Hubel Date: Sun, 7 Jun 2020 23:06:27 +0200 Subject: netcut: bugfix / optimization --- index.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'index.php') diff --git a/index.php b/index.php index 02fd136..b109937 100644 --- a/index.php +++ b/index.php @@ -70,8 +70,6 @@ try { $route = rtrim($route, '/'); $GLOBALS['forceopen'] = isset($_GET['forceopen']); - $GLOBALS['netcut'] = preg_match('@/cut$@', $route); - // generic template $tpl = new PhpTemplate('template/page.phtml'); -- cgit v1.2.3