dev auf main #68

Open
niklas.ortmann wants to merge 1044 commits from devNachCSRF into main
Showing only changes of commit 930bf99fa1 - Show all commits
+4 -4
View File
@@ -62,13 +62,13 @@ if ($pfad === "deleteAccount") {
Je nach pfad-Parameter wird die passende Datei aus content geladen.
*/
if (isset($_GET["pfad"])) {
if (file_exists('/content/' . $_GET["pfad"] . '.php')) {
include_once '/content/' . $_GET["pfad"] . '.php';
if (file_exists('content/' . $_GET["pfad"] . '.php')) {
include_once 'content/' . $_GET["pfad"] . '.php';
} else {
include_once '/content/404.php';
include_once 'content/404.php';
}
} else {
include_once '/content/home.php';
include_once 'content/home.php';
}
include_once 'includes/footer.php';