From 1aa2da50cb69dda42f938fb533559fa1c7c76878 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Wed, 22 Jul 2015 10:51:02 +0200 Subject: [PATCH] (legacy) add util.inc to helper scripts --- src/etc/inc/openvpn.attributes.php | 1 + src/etc/inc/openvpn.auth-user.php | 1 + 2 files changed, 2 insertions(+) diff --git a/src/etc/inc/openvpn.attributes.php b/src/etc/inc/openvpn.attributes.php index 9fe4adc5f..2f5d71968 100644 --- a/src/etc/inc/openvpn.attributes.php +++ b/src/etc/inc/openvpn.attributes.php @@ -25,6 +25,7 @@ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +require_once("util.inc"); if (empty($common_name)) { $common_name = getenv("common_name"); diff --git a/src/etc/inc/openvpn.auth-user.php b/src/etc/inc/openvpn.auth-user.php index f5cbf9bec..fc20195a9 100644 --- a/src/etc/inc/openvpn.auth-user.php +++ b/src/etc/inc/openvpn.auth-user.php @@ -37,6 +37,7 @@ require_once("config.inc"); require_once("radius.inc"); require_once("auth.inc"); +require_once("util.inc"); require_once("interfaces.inc"); /**