From 3fd4a87bebb3d8c26cafcc8de22a3af245fdf71d Mon Sep 17 00:00:00 2001 From: Pierre-Lin Bonnemaison <pierre.lin@free.fr> Date: Mon, 3 Aug 2015 12:17:42 +0200 Subject: [PATCH] =?UTF-8?q?Fix=20des=20probl=C3=A8mes=20de=20retour=20char?= =?UTF-8?q?riot=20windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 0 fonts/glyphicons-halflings-regular.woff2 | Bin js/locales/bootstrap-datetimepicker.lt.js | 2 +- mvc/conn_bdd.php | 38 +++++++++++----------- 4 files changed, 20 insertions(+), 20 deletions(-) mode change 100644 => 100755 README.md mode change 100644 => 100755 fonts/glyphicons-halflings-regular.woff2 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/fonts/glyphicons-halflings-regular.woff2 b/fonts/glyphicons-halflings-regular.woff2 old mode 100644 new mode 100755 diff --git a/js/locales/bootstrap-datetimepicker.lt.js b/js/locales/bootstrap-datetimepicker.lt.js index 8018a70..a639f6e 100755 --- a/js/locales/bootstrap-datetimepicker.lt.js +++ b/js/locales/bootstrap-datetimepicker.lt.js @@ -1,4 +1,4 @@ -/** +/** * Lithuanian translation for bootstrap-datetimepicker * Šarūnas Gliebus <ssharunas@yahoo.co.uk> */ diff --git a/mvc/conn_bdd.php b/mvc/conn_bdd.php index 6b2d06a..64e6332 100755 --- a/mvc/conn_bdd.php +++ b/mvc/conn_bdd.php @@ -1,19 +1,19 @@ -<?php - //CETTE PAGE GERE LA CONNEXION A LA BASE DE DONNEES - $host = 'localhost'; - $dbname = 'raspisms'; - $user = 'root'; - $password = 'DATABASE_PASSWORD'; - - try - { - // On se connecte à MySQL - $bdd = new PDO('mysql:host=' . $host . ';dbname=' . $dbname, $user, $password, array(PDO::ATTR_PERSISTENT => TRUE)); - $bdd->exec("SET CHARACTER SET utf8"); - } - catch(Exception $e) - { - // En cas d'erreur, on affiche un message et on arrête tout - die('Erreur : '.$e->getMessage()); - } -?> +<?php + //CETTE PAGE GERE LA CONNEXION A LA BASE DE DONNEES + $host = 'localhost'; + $dbname = 'raspisms'; + $user = 'root'; + $password = 'DATABASE_PASSWORD'; + + try + { + // On se connecte à MySQL + $bdd = new PDO('mysql:host=' . $host . ';dbname=' . $dbname, $user, $password, array(PDO::ATTR_PERSISTENT => TRUE)); + $bdd->exec("SET CHARACTER SET utf8"); + } + catch(Exception $e) + { + // En cas d'erreur, on affiche un message et on arrête tout + die('Erreur : '.$e->getMessage()); + } +?>