Stunden ende, einiges fertig, fehlt nicht mehr viel

Took 2 hours 31 minutes
This commit is contained in:
2020-10-02 10:41:09 +02:00
parent 1fd648bc4a
commit c37ad92dbc
51 changed files with 26430 additions and 17 deletions

4
classes/Factory.class.inc.php Normal file → Executable file
View File

@ -16,7 +16,7 @@ class Factory
public static function getController( Request $a_request )
{
# Prepare name of controller
$controller_name = mb_strtolower( $a_request->getVar( 'controller' ) );
$controller_name = mb_strtolower( $a_request->getVar( 'c' ) );
$controller_name = ucfirst( $controller_name );
$controller_name .= 'Controller';
@ -49,7 +49,7 @@ class Factory
public static function getAction( $a_controller, Request $a_request )
{
# Prepare name of the action
$action_name = mb_strtolower( $a_request->getVar('action') );
$action_name = mb_strtolower( $a_request->getVar('a') );
$action_name = str_ireplace( 'action', '', $action_name );
$action_name .= 'Action';