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 18fe69cbcd - Show all commits
+2 -2
View File
@@ -9,12 +9,12 @@ if (isset($_GET["category"]) && !empty($_GET["category"]) && articleCategoryVali
$articles = $articleManager->getArticlesByCategory($category);
} catch (Exception $e) {
$_SESSION["message"] = "internal_error";
header("location: ../../index.php");
include_once "content/404.php";
exit();
}
}else{
$_SESSION["message"] = "invalid_category";
header("location: ../../index.php");
include_once "content/404.php";
exit();
}
?>