From bd7a0af6599d3bf7cfeba5ae8f0e118a5b01d16f Mon Sep 17 00:00:00 2001
From: isaack <drericlaufer@gmx.de>
Date: Fri, 1 Mar 2019 16:45:42 +0100
Subject: [PATCH] next bug

---
 install/install.class.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/install/install.class.php b/install/install.class.php
index a3cf046..d7027b5 100644
--- a/install/install.class.php
+++ b/install/install.class.php
@@ -50,8 +50,8 @@ class Install{
 	}
 	
 	private function DBConnect(){
-		require_once('../lib/db_config.php');
-		require_once('../lib/class/db.class.php');
+		require_once($_SERVER['DOCUMENT_ROOT'].'/lib/db_config.php');
+		require_once($_SERVER['DOCUMENT_ROOT'].'/lib/class/db.class.php');
 		$dbnew = new DB;
 		$this->db = $dbnew;
 	}
-- 
GitLab