Cleanup commented code

This commit is contained in:
billz 2021-01-30 16:59:36 +00:00
parent 9baa8de162
commit 6d3f5e9f37
2 changed files with 0 additions and 5 deletions

View File

@ -145,11 +145,7 @@ function setCSRFTokenHeader(event, xhr, settings) {
}
function contentLoaded() {
//pageCurrent = window.location.href.split("?")[1].split("=")[1];
//pageCurrent = pageCurrent.replace("#","");
pageCurrent = window.location.href.split("/").pop();
switch(pageCurrent) {
case "network_conf":
getAllInterfaces();

View File

@ -48,7 +48,6 @@ require_once 'includes/openvpn.php';
require_once 'includes/torproxy.php';
$output = $return = 0;
//$page = $_GET['page'];
$page = $_SERVER['REQUEST_URI'];
$theme_url = getThemeOpt();