function errors($msg) { $controller = new Controller($this->request); $controller->Session = new Session(); // print_r($controller); $controller->e404($msg); }
function error($message = 'Erreur URL') { $user = '******'; if (isset($_SESSION[USER]->login)) { $user = $_SESSION[USER]->login; } $this->logger->LogError('Dispatcher', ERROR, $user, $message . " | " . $this->request->url); $controller = new Controller($this->request); $controller->e404($message); }
public function error($msg) { $controller = new Controller($this->request); $controller->Session = new Session(); $controller->e404($msg); }
function error($message) { $controller = new Controller($this->request); $controller->e404($message); }