assign("theme", $theme); } if (isset($p[3])) $template->assign("ex", new Exercice($p[3], $theme)); } catch (ThemeNotFoundException $e) { return "404"; } catch(ExerciceNotFoundException $e) { return "404"; } catch(ExerciceNotFoundException $e) { return "404"; } return SALT_ADMIN."/exercice";