mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-21 23:20:22 +00:00
Cleanup commented code
This commit is contained in:
parent
9baa8de162
commit
6d3f5e9f37
2 changed files with 0 additions and 5 deletions
|
@ -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();
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue