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"); } ?>