WIP Suche implementiert, sowie Sortieren der Ergebnisse #19

Merged
niklas.ortmann merged 54 commits from ImplementedSearch into dev 2026-06-03 16:07:42 +02:00
Showing only changes of commit 016193de07 - Show all commits
+5 -6
View File
@@ -5,6 +5,11 @@ if (!isset($abs_path)) {
require_once "path.php";
}
require_once $abs_path . "/php/controller/index-controller.php";
if (isset($_GET["pfad"]) && $_GET["pfad"] === "search-results") {
require_once $abs_path . "/php/controller/search-results-controller.php";
}
?>
<!--
@@ -37,12 +42,6 @@ require_once $abs_path . "/php/controller/index-controller.php";
//Dynamischer Inhalt:
if (isset($_GET["pfad"])) {
if ($_GET["pfad"] === "search-results") {
if (file_exists($abs_path . '/php/controller/search-results-controller.php')) {
include_once $abs_path . '/php/controller/search-results-controller.php';
}
}
if (file_exists($abs_path . '/content/' . $_GET["pfad"] . '.php')) {
include_once $abs_path . '/content/' . $_GET["pfad"] . '.php';
} else {