Commit 69c4c578 authored by Ad Schellevis's avatar Ad Schellevis

(status_graph.php) wrong file

parent 067bbd04
......@@ -90,6 +90,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') {
}
}
echo json_encode($result);
exit;
}
} elseif ($_SERVER['REQUEST_METHOD'] === 'POST') {
header("Location: status_graph.php");
......@@ -109,7 +110,7 @@ include("head.inc");
$.ajax("status_graph.php", {'type': 'get', 'cache': false, 'dataType': 'json', 'data': {'act': 'traffic'}}).done(function(data){
traffic_widget_update($("[data-plugin=traffic]")[0], data);
});
$.ajax("legacy_traffic_stats.php", {
$.ajax("status_graph.php", {
type: 'get',
cache: false,
dataType: "json",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment