mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			205 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
			
		
		
	
	
			10 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);
 | 
						|
 |