Initial commit: project openvpn-monitor
This commit is contained in:
13
openvpn-monitor/debug.php
Normal file
13
openvpn-monitor/debug.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php
|
||||
define('APP_INIT', true);
|
||||
ini_set('display_errors', 1);
|
||||
error_reporting(E_ALL);
|
||||
|
||||
require_once __DIR__ . '/src/OpenVPNMonitor.php';
|
||||
use OpenVPN\OpenVPNMonitor;
|
||||
|
||||
$vpn = new OpenVPNMonitor();
|
||||
$clients = $vpn->getClientList();
|
||||
|
||||
echo '<pre>';
|
||||
print_r($clients);
|
||||
Reference in New Issue
Block a user