Kick pptp server in the face on changes

This commit is contained in:
Scott Ullrich 2005-11-30 21:46:41 +00:00
parent 99ad0342a9
commit dd4c094acb

View File

@ -43,11 +43,9 @@ if ($_POST) {
if ($_POST['apply']) {
$retval = 0;
if (!file_exists($d_sysrebootreqd_path)) {
config_lock();
$retval = vpn_pptpd_configure();
config_unlock();
}
config_lock();
$retval = vpn_pptpd_configure();
config_unlock();
$savemsg = get_std_save_message($retval);
if ($retval == 0) {
if (file_exists($d_pptpuserdirty_path))