Fix des problèmes de retour charriot windows

This commit is contained in:
Pierre-Lin Bonnemaison 2015-08-03 12:17:42 +02:00
parent acdbb0a407
commit 5f189448af
4 changed files with 20 additions and 20 deletions

0
README.md Normal file → Executable file
View File

0
fonts/glyphicons-halflings-regular.woff2 Normal file → Executable file
View File

View File

@ -1,4 +1,4 @@
/** /**
* Lithuanian translation for bootstrap-datetimepicker * Lithuanian translation for bootstrap-datetimepicker
* Šarūnas Gliebus <ssharunas@yahoo.co.uk> * Šarūnas Gliebus <ssharunas@yahoo.co.uk>
*/ */

View File

@ -1,19 +1,19 @@
<?php <?php
//CETTE PAGE GERE LA CONNEXION A LA BASE DE DONNEES //CETTE PAGE GERE LA CONNEXION A LA BASE DE DONNEES
$host = 'localhost'; $host = 'localhost';
$dbname = 'raspisms'; $dbname = 'raspisms';
$user = 'root'; $user = 'root';
$password = 'DATABASE_PASSWORD'; $password = 'DATABASE_PASSWORD';
try try
{ {
// On se connecte à MySQL // On se connecte à MySQL
$bdd = new PDO('mysql:host=' . $host . ';dbname=' . $dbname, $user, $password, array(PDO::ATTR_PERSISTENT => TRUE)); $bdd = new PDO('mysql:host=' . $host . ';dbname=' . $dbname, $user, $password, array(PDO::ATTR_PERSISTENT => TRUE));
$bdd->exec("SET CHARACTER SET utf8"); $bdd->exec("SET CHARACTER SET utf8");
} }
catch(Exception $e) catch(Exception $e)
{ {
// En cas d'erreur, on affiche un message et on arrête tout // En cas d'erreur, on affiche un message et on arrête tout
die('Erreur : '.$e->getMessage()); die('Erreur : '.$e->getMessage());
} }
?> ?>