summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_ipsec.php
diff options
context:
space:
mode:
authorsullrich <sullrich@pfsense.org>2009-12-07 22:38:04 -0500
committersullrich <sullrich@pfsense.org>2009-12-07 22:38:04 -0500
commitafcda0d09892b0816312728963a02077ecaeaaf6 (patch)
tree7f3a9ce0c550e702034b8f52586c37583515c4b4 /usr/local/www/vpn_ipsec.php
parentfbc8af8f05771247d006544d3c67c5ed2077448c (diff)
downloadpfsense-afcda0d09892b0816312728963a02077ecaeaaf6.zip
pfsense-afcda0d09892b0816312728963a02077ecaeaaf6.tar.gz
Make g a global and pass ph1ent
Diffstat (limited to 'usr/local/www/vpn_ipsec.php')
-rwxr-xr-xusr/local/www/vpn_ipsec.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec.php b/usr/local/www/vpn_ipsec.php
index 60bb0a2..c6f971c 100755
--- a/usr/local/www/vpn_ipsec.php
+++ b/usr/local/www/vpn_ipsec.php
@@ -439,7 +439,8 @@ function show_phase2(id, buttonid) {
<?php
-function show_ipsec_header() {
+function show_ipsec_header($ph1ent) {
+ global $g;
if (isset($ph1ent['mobile'])) $mobile = "&mobile=true";
echo <<<EOF
<tr>
OpenPOWER on IntegriCloud