aboutsummaryrefslogtreecommitdiffstats
path: root/config/openvpn-client-export/vpn_openvpn_export.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/openvpn-client-export/vpn_openvpn_export.php')
-rwxr-xr-xconfig/openvpn-client-export/vpn_openvpn_export.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/openvpn-client-export/vpn_openvpn_export.php b/config/openvpn-client-export/vpn_openvpn_export.php
index 8eecdae0..1f10716a 100755
--- a/config/openvpn-client-export/vpn_openvpn_export.php
+++ b/config/openvpn-client-export/vpn_openvpn_export.php
@@ -133,7 +133,7 @@ if($act == "visc") {
header("Content-Disposition: attachment; filename={$exp_name}");
header("Content-Length: $exp_size");
readfile($exp_path);
- unlink($exp_path);
+ //unlink($exp_path);
exit;
}
@@ -333,7 +333,7 @@ function usepass_changed() {
<table border="0" cellpadding="2" cellspacing="0">
<tr>
<td>
- <input name="usepass" id="usepass" type="checkbox" onClick="usepass_changed()" checked>
+ <input name="usepass" id="usepass" type="checkbox" value="yes" onClick="usepass_changed()">
</td>
<td>
<span class="vexpl">