From 8ee4336d778b2bdc1b8ba522d9251a4f664fe664 Mon Sep 17 00:00:00 2001 From: Camil Staps Date: Mon, 1 Aug 2016 11:30:19 +0200 Subject: Require paths --- index.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'index.php') diff --git a/index.php b/index.php index 4467853..0a27ed1 100644 --- a/index.php +++ b/index.php @@ -27,7 +27,7 @@ /** * Load the basic configuration (sessions, database, class autoloading, etc.) */ -require_once('./conf.php'); +require_once(__DIR__ . '/conf.php'); // Fetch information from the REQUEST_URI. $_request = parse_url($_SERVER['REQUEST_URI'], PHP_URL_PATH); -- cgit v1.2.3