Initial version

This commit is contained in:
Flatlogic Bot 2026-03-20 03:40:31 +00:00
parent 68cae0e86c
commit b94f93da93
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_39246');
define('DB_USER', 'app_39246');
define('DB_PASS', '739a14df-4768-4f64-b476-6a21b46c497d');
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;
}