diff options
Diffstat (limited to 'config')
-rwxr-xr-x | config/openvpn-client-export/openvpn-client-export.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/openvpn-client-export/openvpn-client-export.inc b/config/openvpn-client-export/openvpn-client-export.inc index ddc97025..58fea40e 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -200,7 +200,7 @@ function openvpn_client_export_config($srvid, $usrid, $crtid, $useaddr, $usetoke $tempdir = "{$g['tmp_path']}/{$prefix}"; mkdir($tempdir, 0700, true); - file_put_contents("{$tempdir}/{$prefix}-ovpn.conf", $conf); + file_put_contents("{$tempdir}/{$prefix}.ovpn", $conf); file_put_contents("{$tempdir}/{$prefix}-ca.crt", base64_decode($server_ca['crt'])); if ($settings['tls']) { |