Kategorien nicht statisch sondern dynamisch #20

Merged
niklas.ortmann merged 21 commits from dynamicCategories into dev 2026-06-03 20:15:16 +02:00
Showing only changes of commit cdccb0bfe8 - Show all commits
@@ -8,6 +8,7 @@ if (isset($_GET["category"]) && !empty($_GET["category"]) && articleCategoryVali
try {
$articleManager = ArticleManager::getInstance();
$articles = $articleManager->getArticlesByCategory($category);
echo $articles[0]->getTitle();
} catch (Exception $e) {
$_SESSION["message"] = "internal_error";
include_once "content/404.php";