diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-04-21 20:44:51 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-04-21 20:44:51 +0000 |
commit | 9c22315353486a374f299f6232eb1a99712f7aaf (patch) | |
tree | c8735514c9500a8538c506d87f683a679b6d5192 /usr/local | |
parent | 604eed79299ea3929adef191c7702c1626500331 (diff) | |
download | pfsense-9c22315353486a374f299f6232eb1a99712f7aaf.zip pfsense-9c22315353486a374f299f6232eb1a99712f7aaf.tar.gz |
Only check for server or client respectively instead of checking for both. Otherwise if a operator is only running server or client openvpn entries we do not show the configuration.
Diffstat (limited to 'usr/local')
-rw-r--r-- | usr/local/pkg/openvpn.xml | 2 | ||||
-rw-r--r-- | usr/local/pkg/openvpn_cli.xml | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/usr/local/pkg/openvpn.xml b/usr/local/pkg/openvpn.xml index 2f2a47f..e73e722 100644 --- a/usr/local/pkg/openvpn.xml +++ b/usr/local/pkg/openvpn.xml @@ -212,8 +212,6 @@ </field> </fields> <custom_php_command_before_form> - if(!$config['installedpackages']['openvpnclient'][0]['protocol']) - unset($evaledvar); if(!$config['installedpackages']['openvpnserver'][0]['protocol']) unset($evaledvar); openvpn_get_ciphers(&$pkg); diff --git a/usr/local/pkg/openvpn_cli.xml b/usr/local/pkg/openvpn_cli.xml index 87178a6..450ad0a 100644 --- a/usr/local/pkg/openvpn_cli.xml +++ b/usr/local/pkg/openvpn_cli.xml @@ -196,8 +196,6 @@ <custom_php_command_before_form> if(!$config['installedpackages']['openvpnclient'][0]['protocol']) unset($evaledvar); - if(!$config['installedpackages']['openvpnserver'][0]['protocol']) - unset($evaledvar); openvpn_get_ciphers(&$pkg); </custom_php_command_before_form> <custom_php_after_head_command> |