Skip to content

Commit

Permalink
pptp: fix `Call to undefined function vpn_pptpd_configure()'
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed Mar 5, 2015
1 parent 098d503 commit 14b3ab2
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 5 deletions.
4 changes: 3 additions & 1 deletion src/www/vpn_pptp.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
Expand Down Expand Up @@ -26,7 +27,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/

require("guiconfig.inc");
require_once('guiconfig.inc');
require_once('vpn.inc');

if (!is_array($config['pptpd']['radius'])) {
$config['pptpd']['radius'] = array();
Expand Down
5 changes: 3 additions & 2 deletions src/www/vpn_pptp_users.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
Expand Down Expand Up @@ -26,8 +27,8 @@
POSSIBILITY OF SUCH DAMAGE.
*/

require("guiconfig.inc");
require_once("vpn.inc");
require_once('guiconfig.inc');
require_once('vpn.inc');

if (!is_array($config['pptpd']['user'])) {
$config['pptpd']['user'] = array();
Expand Down
5 changes: 3 additions & 2 deletions src/www/vpn_pptp_users_edit.php
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
<?php

/*
Copyright (C) 2014-2015 Deciso B.V.
Copyright (C) 2003-2005 Manuel Kasper <mk@neon1.net>.
Expand Down Expand Up @@ -39,8 +40,8 @@ function pptpd_users_sort() {
usort($config['pptpd']['user'], "pptpusercmp");
}

require("guiconfig.inc");
require_once("vpn.inc");
require_once('guiconfig.inc');
require_once('vpn.inc');

if (!is_array($config['pptpd']['user'])) {
$config['pptpd']['user'] = array();
Expand Down

0 comments on commit 14b3ab2

Please sign in to comment.