summaryrefslogtreecommitdiff
path: root/default-conf/var_www_includes/config_db.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2011-06-02 16:59:18 +0200
committerPhilip Häusler <msquare@notrademark.de>2011-06-02 16:59:18 +0200
commitb16d0abb6ec9063aab239c291ff91ac5640b8d7d (patch)
tree3e8afd6cb2d9c5b29dbc0685b1e4fe8e865d6f2a /default-conf/var_www_includes/config_db.php
parent0d351f47915679f98cbd93cd5d8f4d32d91a834a (diff)
db config
Diffstat (limited to 'default-conf/var_www_includes/config_db.php')
-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";
?>