From 8ee4336d778b2bdc1b8ba522d9251a4f664fe664 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 1 Aug 2016 11:30:19 +0200 Subject: Require paths --- include/contacts.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/contacts.php') diff --git a/include/contacts.php b/include/contacts.php index 28656c9..2c9ba2f 100644 --- a/include/contacts.php +++ b/include/contacts.php @@ -17,9 +17,9 @@ * along with this program. If not, see . */ -require_once('./index.php'); -require_once('./login.php'); -require('./header.php'); +require_once(__DIR__ . '/../index.php'); +require_once(__DIR__ . '/../login.php'); +require(__DIR__ . '/../header.php'); ?>
@@ -95,5 +95,5 @@ require('./header.php'); -- cgit v1.2.3