Initial commit: project openvpn-monitor

This commit is contained in:
2025-08-21 22:40:47 +03:00
commit 3c45f22ebe
9 changed files with 456 additions and 0 deletions

View File

@@ -0,0 +1,8 @@
<?php
define('APP_INIT', true);
require_once __DIR__ . '/src/OpenVPNMonitor.php';
$monitor = new OpenVPNMonitor();
header('Content-Type: application/json; charset=utf-8');
echo json_encode($monitor->getClientList(), JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);