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

28
M5/emensa/routes/web.php Normal file
View File

@@ -0,0 +1,28 @@
<?php
/**
* Mapping of paths to controllers.
* Note, that the path only supports one level of directory depth:
* /demo is ok,
* /demo/subpage will not work as expected
*/
return array(
'/' => "MainController@index",
"/demo" => "DemoController@demo",
'/dbconnect' => 'DemoController@dbconnect',
'/debug' => 'HomeController@debug',
'/error' => 'DemoController@error',
'/requestdata' => 'DemoController@requestdata',
// Erstes Beispiel:
'/m4_6a_queryparameter' => 'ExampleController@m4_6a_queryparameter',
'/m4' => 'ExampleController@m4_6a_queryparameter',
'/m4_7b_kategorie' => 'ExampleController@m4_7b_kategorie',
'/m4_7c_gerichte' => 'ExampleController@m4_7c_gerichte',
'/m4_7d' => 'ExampleController@m4_7d',
'/anmeldung' => 'AnmeldungController@start',
'/anmeldung_verifizieren' => 'AnmeldungController@anmeldung_verifizieren',
'/anmeldung_nichtkorrekt' => 'AnmeldungController@check',
'/abmeldung' => 'AnmeldungController@abmelden'
);