load(); $S_url = isset($_GET['url']) ? $_GET['url'] : null; $A_postParams = isset($_POST) ? $_POST : null; View::openBuffer(); try { $O_controller = new Controller($S_url, $A_postParams); $O_controller->execute(); } catch (ControleurException $O_exception) { echo ('An error occured: ' . $O_exception->getMessage()); } $content = View::closeBuffer(); View::show('html', array('body' => $content));