Initial version

This commit is contained in:
Flatlogic Bot 2026-02-28 10:50:08 +00:00
parent 09f8faa6f9
commit ea10b3dae7
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_38835');
define('DB_USER', 'app_38835');
define('DB_PASS', 'b7617de8-f3db-45ab-8177-2f6e62057e64');
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;
}