diff --git a/net/pppoe/src/www/vpn_pppoe.php b/net/pppoe/src/www/vpn_pppoe.php index 19dd1ebbe..d570449dc 100644 --- a/net/pppoe/src/www/vpn_pppoe.php +++ b/net/pppoe/src/www/vpn_pppoe.php @@ -61,7 +61,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') { filter_configure(); clear_subsystem_dirty('vpnpppoe'); - header(url_safe('Location: vpn_pppoe.php')); + header(url_safe('Location: /vpn_pppoe.php')); exit; } elseif (!empty($_POST['act']) && $_POST['act'] == "del") { if (!empty($a_pppoes[$_POST['id']])) { diff --git a/net/pppoe/src/www/vpn_pppoe_edit.php b/net/pppoe/src/www/vpn_pppoe_edit.php index 8ec3b611c..b41e5fc58 100644 --- a/net/pppoe/src/www/vpn_pppoe_edit.php +++ b/net/pppoe/src/www/vpn_pppoe_edit.php @@ -220,7 +220,7 @@ if ($_SERVER['REQUEST_METHOD'] === 'GET') { write_config(); mark_subsystem_dirty('vpnpppoe'); file_put_contents('/tmp/.vpn_pppoe.apply', serialize($toapplylist)); - header(url_safe('Location: vpn_pppoe.php')); + header(url_safe('Location: /vpn_pppoe.php')); exit; } }