Initial version

This commit is contained in:
Flatlogic Bot 2026-03-28 00:02:18 +00:00
parent 1fee14851e
commit 3d23e78133
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_39354');
define('DB_USER', 'app_39354');
define('DB_PASS', '0a6b95b4-1336-4d61-bb0b-eb79be4f02fe');
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;
}