DatabaseCommentManager: neue Datenbank
This commit is contained in:
@@ -59,7 +59,7 @@ class DatabaseCommentManager implements CommentManagerDAO
|
|||||||
private function getConnection()
|
private function getConnection()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
$dsn = 'sqlite:' . __DIR__ . '/../../db/comments.db';
|
$dsn = 'sqlite:' . __DIR__ . '/../../db/eduforgeDB.db';
|
||||||
|
|
||||||
$db = new PDO($dsn, null, null);
|
$db = new PDO($dsn, null, null);
|
||||||
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
$db->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
|
||||||
|
|||||||
Reference in New Issue
Block a user