mirror of
				https://github.com/billz/raspap-webgui.git
				synced 2025-03-01 10:31:47 +00:00 
			
		
		
		
	Merge branch 'zbchristian-mods-openvpn' of https://github.com/RaspAP/raspap-insiders into zbchristian-mods-openvpn
This commit is contained in:
		| @@ -5,11 +5,11 @@ require_once '../../includes/functions.php'; | ||||
|  | ||||
| if (isset($_POST['cfg_id'])) { | ||||
|     $ovpncfg_id = $_POST['cfg_id']; | ||||
|     $ovpncfg_path = pathinfo(RASPI_OPENVPN_CLIENT_LOGIN, PATHINFO_DIRNAME).'/'; | ||||
|     $ovpncfg_path = pathinfo(RASPI_OPENVPN_CLIENT_CONFIG, PATHINFO_DIRNAME).'/'; | ||||
|     $ovpncfg_files = $ovpncfg_path .$ovpncfg_id.'_*.conf'; | ||||
|  | ||||
|     // move currently active profile | ||||
|     $meta = file_get_meta(RASPI_OPENVPN_CLIENT_LOGIN,'#\sfilename\s(.*)'); | ||||
|     $meta = file_get_meta(RASPI_OPENVPN_CLIENT_CONFIG,'#\sfilename\s(.*)'); | ||||
|     $ovpncfg_client = $ovpncfg_path .$meta.'_client.conf'; | ||||
|     $ovpncfg_login = $ovpncfg_path .$meta.'_login.conf'; | ||||
|     exec("sudo mv ".RASPI_OPENVPN_CLIENT_CONFIG." $ovpncfg_client", $return); | ||||
|   | ||||
| @@ -37,9 +37,8 @@ | ||||
|            <div class="panel panel-default panel-collapse collapse in" id="PanelCerts" > | ||||
|               <div class="panel-body"> | ||||
|              <div class="panel-heading"> | ||||
|                <h5 class="panel-title">Enter username and password</h5> | ||||
|                <h5 class="panel-title">Certificates in the configuration file</h5> | ||||
|              </div> | ||||
|                     <h5 class="panel-title">Certificates in the configuration file</h5> | ||||
|                     <p> RaspAP does not support the import of the required cerficates. Please paste them into the configuration file | ||||
|                       <ul> | ||||
|                         <li>Signing certification authority (CA) certificate (e.g. <code>ca.crt</code>): enclosed in <code><ca> ... </ca></code> tags </li> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user