update koneksi DB

This commit is contained in:
Wian Drs
2026-09-11 18:06:17 +07:00
parent 4ef15c22ae
commit ff870b7667
30 changed files with 390 additions and 115 deletions
+5 -5
View File
@@ -75,11 +75,11 @@ $query_builder = TRUE;
$db['default'] = array(
'dsn' => '',
'hostname' => getenv('DB_HOST') ?: '127.0.0.1',
'port' => (int) (getenv('DB_PORT') ?: 3306),
'username' => getenv('DB_USERNAME') ?: '',
'password' => getenv('DB_PASSWORD') ?: '',
'database' => getenv('DB_DATABASE') ?: '',
'hostname' => app_env('DB_HOST', '127.0.0.1') ?: '127.0.0.1',
'port' => (int) (app_env('DB_PORT', 3306) ?: 3306),
'username' => app_env('DB_USERNAME', '') ?: '',
'password' => app_env('DB_PASSWORD', '') ?: '',
'database' => app_env('DB_DATABASE', '') ?: '',
'dbdriver' => 'mysqli', // WAJIB: driver PostgreSQL
'dbprefix' => '',