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/file-get.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/file-get.php') diff --git a/include/file-get.php b/include/file-get.php index b3f575d..c04b378 100644 --- a/include/file-get.php +++ b/include/file-get.php @@ -24,7 +24,7 @@ * along with this program. If not, see . */ -require_once('./conf.php'); +require_once(__DIR__ . '/../conf.php'); $filename = $_REQUEST['name']; $filepath = Constants::files_folder . $filename; -- cgit v1.2.3