summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--default-conf/var_www_includes/config_db.php11
1 files changed, 6 insertions, 5 deletions
diff --git a/default-conf/var_www_includes/config_db.php b/default-conf/var_www_includes/config_db.php
index a90e012e..d07529c0 100644
--- a/default-conf/var_www_includes/config_db.php
+++ b/default-conf/var_www_includes/config_db.php
@@ -1,8 +1,9 @@
<?php
-include ("../include/funktion_db.php");
-$con = mysql_connect("localhost", "root", "changeme") or die("connection failed");
-$sel = mysql_select_db("tabel") or die(mysql_error());
-mysql_query("SET CHARACTER SET utf8;", $con);
-mysql_query("SET NAMES 'utf8'", $con);
+
+// MySQL-Connection Settings
+$config['host'] = "localhost";
+$config['user'] = "root";
+$config['pw'] = "";
+$config['db'] = "engelsystem";
?>