dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit 11da418f60 - Show all commits
+1 -1
View File
@@ -51,7 +51,7 @@ class DatabaseArticleManager implements ArticleManagerDAO {
try { try {
$user = 'root'; $user = 'root';
$pw = null; $pw = null;
$dsn = 'sqlite:../../db/articles.db'; $dsn = 'sqlite:' . __DIR__ . '/../../db/articles.db';
return new PDO($dsn, $user, $pw); return new PDO($dsn, $user, $pw);
} catch (PDOException $e) { } catch (PDOException $e) {
throw new InternalServerErrorException($e->getMessage()); throw new InternalServerErrorException($e->getMessage());