lighten-mailbox-new/header.php
2020-10-30 21:51:04 +01:00

14 lines
338 B
PHP

<?php
define('VERSION', '0.1');
include($config['dir']['absolut'].'/functions.php');
try {
$db = new PDO($config['db']['dsn'], $config['db']['user'], $config['db']['password'],
array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
} catch (PDOException $e) {
exit('Database connexion fail : ' . $e->getMessage());
}
?>