pull/21/head
brongniart 6 months ago
parent 56b8511e87
commit bc914e73e8

@ -69,7 +69,7 @@ Class FrontControler{
else {
$controller = '\\Controleur\\' . $controller;
$controller = new $controller;
$controller = new $controller($co);
if (is_callable(array($controller, $action))) {
call_user_func_array(array($controller, $action),
array($match['params']));

@ -16,7 +16,7 @@ use Twig\Error\RuntimeError;
use Twig\Error\SyntaxError;
use Twig\Loader\FilesystemLoader;
class QuizController
class QuizControler
{
private int $no_question = 0;
Loading…
Cancel
Save