Comme ceci ? Dans la surcharge je suppose ?
L'erreur me retourne :
Parse error: syntax error, unexpected 'class' (T_CLASS) in /var/www/vhosts/investir-loi-ferrand-2018.com/httpdocs/override/classes/controller/FrontController.php on line 35
enfaite j'avais oublié un ';' derrière la ligne l'erreur qu'on me retourne est :
atal error: Uncaught Error: Call to undefined function getcatforbred() in /var/www/vhosts/investir-loi-ferrand-2018.com/httpdocs/override/classes/controller/FrontController.php:217 Stack trace: #0 /var/www/vhosts/investir-loi-ferrand-2018.com/httpdocs/classes/controller/Controller.php(233): FrontControllerCore->__construct(false, false) #1 /var/www/vhosts/investir-loi-ferrand-2018.com/httpdocs/classes/Dispatcher.php(510): ControllerCore::getController('ProductControll...') #2 /var/www/vhosts/investir-loi-ferrand-2018.com/httpdocs/index.php(28): DispatcherCore->dispatch() #3 {main} thrown in /var/www/vhosts/investir-loi-ferrand-2018.com/httpdocs/override/classes/controller/FrontController.php on line 217