mirror of
https://github.com/RaspAP/raspap-webgui.git
synced 2024-11-22 15:40:22 +00:00
9 lines
205 B
PHP
9 lines
205 B
PHP
<?php
|
|
|
|
require '../../includes/csrf.php';
|
|
require_once '../../includes/config.php';
|
|
|
|
// fetch wg client.conf
|
|
exec('sudo cat '. RASPI_WIREGUARD_PATH.'client.conf', $return);
|
|
echo implode(PHP_EOL,$return);
|
|
|