You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
WF-Website/vue/erreur.php

26 lines
678 B

<?php
global $twig;
if(!isset($erreur[2])){
echo $twig->render('head.html.twig', [
'title' => "Accueil",
'style' => "public/styles/style.css",
'scripts' => array("public/script/theme-toggle.js")
]);
}
else{
echo $twig->render('head.html.twig', array(
'title' => "Quote",
'style' => "../public/styles/styleQuote.css",
'scripts' => array("../public/script/theme-toggle-double-param.js", "../public/script/copy.js")
));
}
// Rendu du bandeau
echo $twig->render('bandeau.html.twig');
echo $twig->render('erreur.html.twig',[
'numero' => $erreur[0],
'context' => $erreur[1],
]);