Revision 4e1f4ba6
Added by Matthew Grooms about 17 years ago
usr/local/www/vpn_ipsec_mobile.php | ||
---|---|---|
34 | 34 |
|
35 | 35 |
$a_phase1 = &$config['ipsec']['phase1']; |
36 | 36 |
|
37 |
$a_client = &$config['ipsec']['client']; |
|
38 |
|
|
39 | 37 |
if (!is_array($config['ipsec']['client'])) |
40 | 38 |
$config['ipsec']['client'] = array(); |
41 | 39 |
|
... | ... | |
280 | 278 |
<?php |
281 | 279 |
if ($savemsg) |
282 | 280 |
print_info_box($savemsg); |
283 |
if (file_exists($d_ipsecconfdirty_path)) |
|
281 |
if (isset($config['ipsec']['enable']) && file_exists($d_ipsecconfdirty_path))
|
|
284 | 282 |
print_info_box_np("The IPsec tunnel configuration has been changed.<br>You must apply the changes in order for them to take effect."); |
285 | 283 |
foreach ($a_phase1 as $ph1ent) |
286 | 284 |
if (isset($ph1ent['mobile'])) |
Also available in: Unified diff
Fix a but in the IPsec Mobile Client screen that caused the 'Apply' banner
to be displayed unconditionally when IPsec support is globally disabled.