"Beitrag erstellt"-Nachricht von index-php nach home.php

This commit is contained in:
2026-05-29 11:08:00 +02:00
parent c4e7ca3ac2
commit e499ffba22
2 changed files with 5 additions and 6 deletions
-6
View File
@@ -31,12 +31,6 @@ require_once $abs_path . "/php/controller/index-controller.php";
<body>
<?php
include_once $abs_path . '/includes/navbar.php';
if (isset($_SESSION["message"]) && $_SESSION["message"] == "new_article"): ?>
<p class="alert-message is-success">
Dein Beitrag wurde erfolgreich veröffentlicht!
</p>
<?php endif;
//Dynamischer Inhalt:
if (isset($_GET["pfad"])) {
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {