summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
inline | side by side (from parent 1:
213d455)
-$stats = $rpc->query("stats.get", []);
+$stats = $rpc->stats()->get();
That function was added a few minutes ago in unrealircd-rpc-php,
apparently it was missing :D
header("Content-type: application/json");
header("Content-type: application/json");
-$stats = $rpc->query("stats.get", []);
+$stats = $rpc->stats()->get();
echo json_encode($stats);
echo json_encode($stats);
require_once "connection.php";
require_once "header.php";
require_once "connection.php";
require_once "header.php";
-$stats = $rpc->query("stats.get", []);
+$stats = $rpc->stats()->get();
?>
<h2>Network Overview</h2>
?>
<h2>Network Overview</h2>