mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Cleanup commented code
This commit is contained in:
parent
9baa8de162
commit
6d3f5e9f37
@ -145,11 +145,7 @@ function setCSRFTokenHeader(event, xhr, settings) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function contentLoaded() {
|
function contentLoaded() {
|
||||||
//pageCurrent = window.location.href.split("?")[1].split("=")[1];
|
|
||||||
//pageCurrent = pageCurrent.replace("#","");
|
|
||||||
|
|
||||||
pageCurrent = window.location.href.split("/").pop();
|
pageCurrent = window.location.href.split("/").pop();
|
||||||
|
|
||||||
switch(pageCurrent) {
|
switch(pageCurrent) {
|
||||||
case "network_conf":
|
case "network_conf":
|
||||||
getAllInterfaces();
|
getAllInterfaces();
|
||||||
|
@ -48,7 +48,6 @@ require_once 'includes/openvpn.php';
|
|||||||
require_once 'includes/torproxy.php';
|
require_once 'includes/torproxy.php';
|
||||||
|
|
||||||
$output = $return = 0;
|
$output = $return = 0;
|
||||||
//$page = $_GET['page'];
|
|
||||||
$page = $_SERVER['REQUEST_URI'];
|
$page = $_SERVER['REQUEST_URI'];
|
||||||
|
|
||||||
$theme_url = getThemeOpt();
|
$theme_url = getThemeOpt();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user