summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_pppoe.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@world.inf.org>2013-01-31 10:47:56 +0545
committerPhil Davis <phil.davis@world.inf.org>2013-01-31 10:47:56 +0545
commit11d3a15926185a9dff82f88c84fdae8da0f0b996 (patch)
treef7bba0c4a37c20b47afaa89c5a5df4a163a82d09 /usr/local/www/vpn_pppoe.php
parent0a0b17d90dd59ae1a743408bd0a67baa1f8f2ec9 (diff)
downloadpfsense-11d3a15926185a9dff82f88c84fdae8da0f0b996.zip
pfsense-11d3a15926185a9dff82f88c84fdae8da0f0b996.tar.gz
Syntax error in vpn_pppoe.php
Diffstat (limited to 'usr/local/www/vpn_pppoe.php')
-rwxr-xr-xusr/local/www/vpn_pppoe.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/vpn_pppoe.php b/usr/local/www/vpn_pppoe.php
index 1b67ef2..b91e6d2 100755
--- a/usr/local/www/vpn_pppoe.php
+++ b/usr/local/www/vpn_pppoe.php
@@ -1,6 +1,6 @@
<?php
/*
- Copyright (C) 2010 Ermal Luçi
+ Copyright (C) 2010 Ermal Luci
All rights reserved.
Redistribution and use in source and binary forms, with or without
@@ -75,7 +75,7 @@ if ($_GET['act'] == "del") {
if ($a_pppoes[$_GET['id']]) {
if ("{$g['varrun_path']}/pppoe" . $a_pppoes[$_GET['id']]['pppoeid'] . "-vpn.pid")
killbypid("{$g['varrun_path']}/pppoe" . $a_pppoes[$_GET['id']]['pppoeid'] . "-vpn.pid");
- if (is_dir({$g['varetc_path']}/pppoe" . $a_pppoes[$_GET['id']]['pppoeid']))
+ if (is_dir("{$g['varetc_path']}/pppoe" . $a_pppoes[$_GET['id']]['pppoeid']))
mwexec("/bin/rm -r {$g['varetc_path']}/pppoe" . $a_pppoes[$_GET['id']]['pppoeid']);
unset($a_pppoes[$_GET['id']]);
write_config();
OpenPOWER on IntegriCloud