Ripristino template originale

This commit is contained in:
2026-08-19 17:56:28 +01:00
commit f146db4aed
23 changed files with 833 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
<?php
// Exceptions PHP-MSQLI
mysqli_report(MYSQLI_REPORT_ERROR | MYSQLI_REPORT_STRICT);
try {
// Create Connection
$conn = new mysqli(DB_HOST, DB_USER, DB_PASS, DB_NAME);
// Connections Successfully
if(DB_DEBUG == "yes"){
echo "Connected successfully";
}
} catch (mysqli_sql_exception $e) {
// Access Deny
include(PAGES_FOLD . "db-error.php");
debugStatusMes("Database connection failed.", "High");
die();
}
?>