Commit 14b3ab22 authored by Franco Fichtner's avatar Franco Fichtner

pptp: fix `Call to undefined function vpn_pptpd_configure()'

parent 098d5034
<?php <?php
/* /*
Copyright (C) 2014-2015 Deciso B.V. Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>. Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
...@@ -26,7 +27,8 @@ ...@@ -26,7 +27,8 @@
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
require("guiconfig.inc"); require_once('guiconfig.inc');
require_once('vpn.inc');
if (!is_array($config['pptpd']['radius'])) { if (!is_array($config['pptpd']['radius'])) {
$config['pptpd']['radius'] = array(); $config['pptpd']['radius'] = array();
......
<?php <?php
/* /*
Copyright (C) 2014-2015 Deciso B.V. Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>. Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
...@@ -26,8 +27,8 @@ ...@@ -26,8 +27,8 @@
POSSIBILITY OF SUCH DAMAGE. POSSIBILITY OF SUCH DAMAGE.
*/ */
require("guiconfig.inc"); require_once('guiconfig.inc');
require_once("vpn.inc"); require_once('vpn.inc');
if (!is_array($config['pptpd']['user'])) { if (!is_array($config['pptpd']['user'])) {
$config['pptpd']['user'] = array(); $config['pptpd']['user'] = array();
......
<?php <?php
/* /*
Copyright (C) 2014-2015 Deciso B.V. Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>. Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
...@@ -39,8 +40,8 @@ function pptpd_users_sort() { ...@@ -39,8 +40,8 @@ function pptpd_users_sort() {
usort($config['pptpd']['user'], "pptpusercmp"); usort($config['pptpd']['user'], "pptpusercmp");
} }
require("guiconfig.inc"); require_once('guiconfig.inc');
require_once("vpn.inc"); require_once('vpn.inc');
if (!is_array($config['pptpd']['user'])) { if (!is_array($config['pptpd']['user'])) {
$config['pptpd']['user'] = array(); $config['pptpd']['user'] = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment