Fix Coolify URLs and database config
This commit is contained in:
@@ -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'] ?? '');
|
||||
|
||||
Reference in New Issue
Block a user