Initial version

This commit is contained in:
Flatlogic Bot 2026-02-17 21:20:39 +00:00
parent bf9c379da6
commit 72824926e3
3 changed files with 17 additions and 0 deletions

0
.perm_test_apache Normal file
View File

0
.perm_test_exec Normal file
View File

17
db/config.php Normal file
View File

@ -0,0 +1,17 @@
<?php
// Generated by setup_mariadb_project.sh — edit as needed.
define('DB_HOST', '127.0.0.1');
define('DB_NAME', 'app_38543');
define('DB_USER', 'app_38543');
define('DB_PASS', 'cc8752b4-0cc6-4724-b39d-689274a41795');
function db() {
static $pdo;
if (!$pdo) {
$pdo = new PDO('mysql:host='.DB_HOST.';dbname='.DB_NAME.';charset=utf8mb4', DB_USER, DB_PASS, [
PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION,
PDO::ATTR_DEFAULT_FETCH_MODE => PDO::FETCH_ASSOC,
]);
}
return $pdo;
}