Fix Coolify URLs and database config

This commit is contained in:
2026-06-11 01:50:43 +07:00
parent 77caccc6a0
commit d7c208c404
4 changed files with 15 additions and 11 deletions
+5 -1
View File
@@ -1,7 +1,11 @@
<?php
session_start();
if ($_SERVER['REQUEST_METHOD'] === 'POST') {
$pdo = new PDO("mysql:host=localhost;dbname=default;charset=utf8mb4", "root", "");
$pdo = new PDO(
"mysql:host=tocg40440408gocww0c8osgc;port=3306;dbname=default;charset=utf8mb4",
"mysql",
"sjQiQ0OnycL1bhCEzywCfN41cWHGFmBzQXiEr0P3RiMrFlq3pvI2lowKRDDmOhAN"
);
$pdo->setAttribute(PDO::ATTR_ERRMODE, PDO::ERRMODE_EXCEPTION);
$username = trim($_POST['username'] ?? '');