mirror of
https://github.com/RaspbianFrance/raspisms.git
synced 2025-04-20 16:37:48 +02:00
Fix des problèmes de retour charriot windows
This commit is contained in:
parent
acdbb0a407
commit
5f189448af
4 changed files with 20 additions and 20 deletions
0
README.md
Normal file → Executable file
0
README.md
Normal file → Executable file
0
fonts/glyphicons-halflings-regular.woff2
Normal file → Executable file
0
fonts/glyphicons-halflings-regular.woff2
Normal file → Executable file
2
js/locales/bootstrap-datetimepicker.lt.js
vendored
2
js/locales/bootstrap-datetimepicker.lt.js
vendored
|
@ -1,4 +1,4 @@
|
|||
/**
|
||||
/**
|
||||
* Lithuanian translation for bootstrap-datetimepicker
|
||||
* Šarūnas Gliebus <ssharunas@yahoo.co.uk>
|
||||
*/
|
||||
|
|
|
@ -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());
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue