From 8f5461a4d9036c432c63c3f6bbb5cfc03ebcd59b Mon Sep 17 00:00:00 2001 From: Kevin Chabowski Date: Thu, 3 Oct 2013 22:17:59 +0200 Subject: Fixed PDO DSN. --- ratatoeskr/sys/db.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ratatoeskr/sys/db.php') diff --git a/ratatoeskr/sys/db.php b/ratatoeskr/sys/db.php index 18776bb..0b4bb4a 100644 --- a/ratatoeskr/sys/db.php +++ b/ratatoeskr/sys/db.php @@ -28,7 +28,7 @@ function db_connect() global $db_con; $db_con = new PDO( - "mysql:host=" . $config["mysql"]["server"] . ",dbname=" . $config["mysql"]["db"] . ",charset=utf8", + "mysql:host=" . $config["mysql"]["server"] . ";dbname=" . $config["mysql"]["db"] . ";charset=utf8", $config["mysql"]["user"], $config["mysql"]["passwd"], array( -- cgit v1.2.3-70-g09d2