This commit is contained in:
Tim Krehan 2024-09-27 00:24:30 +00:00 committed by GitHub
commit 3a84945219
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,10 +1,14 @@
<?php
include $_SESSION["docroot"].'/config/config.php';
$mysqli = new mysqli(
$host = $CONFIG['host'],
$username = $CONFIG['username'],
$passwd = $CONFIG['passwd'],
$database = $CONFIG['database']
$mysqli = mysqli_init();
$mysqli->real_connect(
$CONFIG['host'],
$CONFIG['username'],
$CONFIG['passwd'],
$CONFIG['database']
3306,
NULL,
MYSQLI_CLIENT_SSL
);
$mysqli->set_charset("utf8mb4");
if (!is_null($mysqli->connect_error))