fix include issue

This commit is contained in:
Fabian Franz 2024-06-09 12:23:17 +02:00
parent 129f1257b4
commit 96ef301eea

View file

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