From 9fad9848c9353b9a21402634a537ae74bd976354 Mon Sep 17 00:00:00 2001 From: jim-p Date: Thu, 12 Aug 2010 13:33:19 -0400 Subject: Reorder this, otherwise the function doesn't pick up on the config change. --- usr/local/www/vpn_ipsec.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'usr/local/www/vpn_ipsec.php') diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php index 9f2e97e..ee3e13c 100755 --- a/usr/local/www/vpn_ipsec.php +++ b/usr/local/www/vpn_ipsec.php @@ -74,8 +74,9 @@ if ($_POST) { $config['ipsec']['enable'] = $_POST['enable'] ? true : false; - $retval = vpn_ipsec_configure(); write_config(); + + $retval = vpn_ipsec_configure(); } } -- cgit v1.1