mirror of
https://github.com/Aviortheking/Blog_IMIE.git
synced 2025-07-29 06:09:50 +00:00
fdsfds
This commit is contained in:
@ -11,10 +11,10 @@ function endsWith($haystack, $needle) {
|
||||
}
|
||||
|
||||
function connect() {
|
||||
$host = "127.0.0.1";
|
||||
$host = "localhost";
|
||||
$db = "blog";
|
||||
$user = "blog";
|
||||
$pass = "blog";
|
||||
$user = "root";
|
||||
$pass = "root";
|
||||
$charset="utf8mb4";
|
||||
|
||||
$dsn = "mysql:host=$host;dbname=$db;charset=$charset";
|
||||
@ -25,3 +25,7 @@ function connect() {
|
||||
}
|
||||
return $pdo;
|
||||
}
|
||||
|
||||
function getBDD() {
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user