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.
15 lines
437 B
15 lines
437 B
1 year ago
|
<?php
|
||
|
/** PC IUT - PHP 8.1 */
|
||
|
|
||
|
/** Chargement config */
|
||
|
require_once __DIR__ . '/src/config/config.php';
|
||
|
require __DIR__ . '/vendor/autoload.php';
|
||
|
|
||
|
/** Configuration twig */
|
||
|
$loader = new \Twig\Loader\FilesystemLoader(__DIR__ . '/templates');
|
||
|
$twig = new \Twig\Environment($loader, [
|
||
|
'cache' => false,
|
||
|
'debug' => true
|
||
|
]);
|
||
|
$twig->addExtension(new \Twig\Extension\DebugExtension());
|
||
|
$cont = new \App\controleur\FrontControleur();
|