From 96ef301eea26409d5f08239209582b4d472412d5 Mon Sep 17 00:00:00 2001 From: Fabian Franz Date: Sun, 9 Jun 2024 12:23:17 +0200 Subject: [PATCH] fix include issue --- dashboard/pgs/config.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dashboard/pgs/config.inc.php b/dashboard/pgs/config.inc.php index 3c25f58..535d5bb 100755 --- a/dashboard/pgs/config.inc.php +++ b/dashboard/pgs/config.inc.php @@ -78,8 +78,8 @@ include an extra config file for people who dont like to mess with shipped confi this makes updating dashboard from git a little bit easier */ -if (file_exists("../config.inc.php")) { - include ("../config.inc.php"); +if (file_exists(__DIR__."/../config.inc.php")) { + require (__DIR__."/../config.inc.php"); } ?>