diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2009-12-29 19:53:22 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2009-12-29 19:53:30 -0500 |
commit | b942041662c8cdc0cc6b676b9f4402e2861e00ca (patch) | |
tree | c4076a0dbbdccb0ce2507a15f0e14153be3d8616 | |
parent | 1550fc058b3cc49539a8ae4c7607ba5a15f46e0f (diff) | |
download | pfsense-packages-b942041662c8cdc0cc6b676b9f4402e2861e00ca.tar.gz pfsense-packages-b942041662c8cdc0cc6b676b9f4402e2861e00ca.tar.bz2 pfsense-packages-b942041662c8cdc0cc6b676b9f4402e2861e00ca.zip |
Add / to zipfile location. Noticed-by: Pierre Ticket #260
-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 11ff8a80..1a4effa2 100755 --- a/config/openvpn-client-export/openvpn-client-export.inc +++ b/config/openvpn-client-export/openvpn-client-export.inc @@ -264,7 +264,7 @@ function viscosity_openvpn_client_config_exporter($srvid, $usrid, $crtid, $usead $ovpndir = "/usr/local/share/openvpn/"; $uniq = uniqid(); $tempdir = $g['tmp_path'] . "/openvpn-export-" . $uniq; - $zipfile = $g['tmp_path'] . "{$uniq}-Viscosity.visc.zip"; + $zipfile = $g['tmp_path'] . "/{$uniq}-Viscosity.visc.zip"; // lookup server settings $settings = $config['openvpn']['openvpn-server'][$srvid]; |