summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2013-01-30 22:00:14 -0800
committerChris Buechler <cmb@pfsense.org>2013-01-30 22:00:14 -0800
commitb0cde9765e695e0b1af898227d24649e4fde4ec3 (patch)
treef7bba0c4a37c20b47afaa89c5a5df4a163a82d09
parent0a0b17d90dd59ae1a743408bd0a67baa1f8f2ec9 (diff)
parent11d3a15926185a9dff82f88c84fdae8da0f0b996 (diff)
downloadpfsense-b0cde9765e695e0b1af898227d24649e4fde4ec3.zip
pfsense-b0cde9765e695e0b1af898227d24649e4fde4ec3.tar.gz
Merge pull request #363 from phil-davis/master
Syntax error in 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