서버 DB 기본 호스트를 localhost로 변경
This commit is contained in:
@@ -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';
|
||||
|
||||
Reference in New Issue
Block a user