<?php
$_SETTINGS = require "_settings.php";
require_once "vendor/autoload.php";

// Connexion aux DB
// MySQL
$db = new PDO("mysql:dbname=".$_SETTINGS["dbName"].";host=localhost", $_SETTINGS["dbUsername"], $_SETTINGS["dbPassword"]);
// pgSQL
// $db = new PDO("pgsql:dbname=".$_SETTINGS["dbName"].";host=localhost", $_SETTINGS["dbUsername"], $_SETTINGS["dbPassword"]);

require_once "fnStaticData.php";
require_once "fnSessionCheck.php";