diff options
author | Chris Buechler <cmb@pfsense.org> | 2010-04-24 00:06:37 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2010-04-24 00:06:37 -0400 |
commit | 1f4d2cafde8b1be3860cd3d546e49091f2d617d3 (patch) | |
tree | 3e445ed60bf36687086e4a65777c712745251527 /config/openvpn-client-export/openvpn-client-export.inc | |
parent | 76325b2dd6d70e563b041789cc24d543f3100c58 (diff) | |
download | pfsense-packages-1f4d2cafde8b1be3860cd3d546e49091f2d617d3.tar.gz pfsense-packages-1f4d2cafde8b1be3860cd3d546e49091f2d617d3.tar.bz2 pfsense-packages-1f4d2cafde8b1be3860cd3d546e49091f2d617d3.zip |
use .ovpn for extension of client config file
Diffstat (limited to 'config/openvpn-client-export/openvpn-client-export.inc')
-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']) { |