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.
29 lines
571 B
29 lines
571 B
<?php
|
|
|
|
session_start();
|
|
$_SESSION['role']='visiteur';
|
|
$_SESSION['login']=NULL;
|
|
$_SESSION['theme']='dark';
|
|
|
|
|
|
//chargement config
|
|
require_once __DIR__ . '/config/config.php';
|
|
|
|
require __DIR__ . '/vendor/autoload.php';
|
|
|
|
//$co = new \Gateway\Connection("pgsql:host=londres;dbname=dblebeaulato","lebeaulato","MaSQL:2004!");
|
|
|
|
//twig
|
|
$loader = new \Twig\Loader\FilesystemLoader('vue/templates');
|
|
$twig = new \Twig\Environment($loader, [
|
|
'cache' => 'cache',
|
|
]);
|
|
|
|
|
|
$cont = new Controleur\FrontControler(/*$co*/);
|
|
|
|
session_unset();
|
|
session_destroy();
|
|
$_SESSION = array();
|
|
|
|
?>
|