서버 DB 기본 호스트를 localhost로 변경

This commit is contained in:
2026-01-04 16:07:22 +09:00
parent 77a9293d05
commit e65e55e37b

View File

@@ -16,7 +16,7 @@ function loadEnvOnly() {
function db_connect(){
loadEnvOnly();
$db_host = $_ENV['DB_HOST'] ?? 'mysql';
$db_host = $_ENV['DB_HOST'] ?? 'localhost';
$db_name = $_ENV['DB_NAME'] ?? 'chandj';
$db_user = $_ENV['DB_USER'] ?? 'root';
$db_pass = $_ENV['DB_PASS'] ?? 'root';