This commit is contained in:
S170H
2023-12-17 22:17:05 +01:00
parent 67a26f6684
commit 99d78584ec
120 changed files with 9988 additions and 5 deletions

View File

@@ -0,0 +1,21 @@
<?php
require_once($_SERVER['DOCUMENT_ROOT'].'/../models/gerichte_main.php');
class MainController
{
public function index() {
/*
Wenn Sie hier landen:
bearbeiten Sie diese Action,
so dass Sie die Aufgabe löst
*/
$data = db_gericht_select_karte();
return view('main.index', [
'data'=>$data,
'url' => 'http' . (isset($_SERVER['HTTPS']) ? 's' : '') . '://' . "{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"
]);
}
}