From d3608c7bd0c47b18b42ccd25ce162e77f6713c67 Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Sat, 22 Dec 2018 21:33:07 +0100 Subject: [PATCH] changed includes --- lam/templates/tests/index.php | 4 ++-- lam/templates/tests/lamdaemonTest.php | 4 ++-- lam/templates/tests/schemaTest.php | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/lam/templates/tests/index.php b/lam/templates/tests/index.php index 5d8633af..ceb82f12 100644 --- a/lam/templates/tests/index.php +++ b/lam/templates/tests/index.php @@ -33,9 +33,9 @@ use \htmlTitle; */ /** security functions */ -include_once("../../lib/security.inc"); +include_once(__DIR__ . "/../../lib/security.inc"); /** access to configuration options */ -include_once("../../lib/config.inc"); +include_once(__DIR__ . "/../../lib/config.inc"); // start session startSecureSession(); diff --git a/lam/templates/tests/lamdaemonTest.php b/lam/templates/tests/lamdaemonTest.php index 96455245..bd9bc984 100644 --- a/lam/templates/tests/lamdaemonTest.php +++ b/lam/templates/tests/lamdaemonTest.php @@ -42,9 +42,9 @@ use \htmlResponsiveRow; */ /** security functions */ -include_once("../../lib/security.inc"); +include_once(__DIR__ . "/../../lib/security.inc"); /** access to configuration options */ -include_once("../../lib/config.inc"); +include_once(__DIR__ . "/../../lib/config.inc"); // start session startSecureSession(); diff --git a/lam/templates/tests/schemaTest.php b/lam/templates/tests/schemaTest.php index aea01954..765c35ed 100644 --- a/lam/templates/tests/schemaTest.php +++ b/lam/templates/tests/schemaTest.php @@ -37,13 +37,13 @@ use function \LAM\SCHEMA\get_cached_schema; */ /** security functions */ -include_once("../../lib/security.inc"); +include_once(__DIR__ . "/../../lib/security.inc"); /** access to configuration options */ -include_once("../../lib/config.inc"); +include_once(__DIR__ . "/../../lib/config.inc"); /** account modules */ -include_once("../../lib/modules.inc"); +include_once(__DIR__ . "/../../lib/modules.inc"); /** LDAP schema */ -include_once("../../lib/schema.inc"); +include_once(__DIR__ . "/../../lib/schema.inc"); // start session startSecureSession();