Ajout de CI et update depuis la prod
Some checks failed
Déploiement DEV / deploy (push) Failing after 13s
Some checks failed
Déploiement DEV / deploy (push) Failing after 13s
This commit is contained in:
11
config/connexion_sql.php
Normal file
11
config/connexion_sql.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
// Connexion à la base de données
|
||||
try
|
||||
{
|
||||
$bdd = new PDO('mysql:host=localhost:3306;dbname=ecurie', 'ccbuser', 'HO9A#x@qD6Wl',array(PDO::MYSQL_ATTR_INIT_COMMAND => "SET NAMES utf8"));
|
||||
}
|
||||
catch(Exception $e)
|
||||
{
|
||||
die('Erreur : '.$e->getMessage());
|
||||
}
|
||||
Reference in New Issue
Block a user