mirror of
https://github.com/rekywhyd/gis_tugas.git
synced 2026-07-09 11:23:08 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
<?php
|
||||
$db_host = getenv('DB_HOST') ?: 'localhost';
|
||||
$db_user = getenv('DB_USER') ?: 'root';
|
||||
$db_pass = getenv('DB_PASS') ?: '';
|
||||
$db_name = getenv('DB_NAME') ?: 'gis_tugas';
|
||||
|
||||
$conn = mysqli_connect($db_host, $db_user, $db_pass, $db_name);
|
||||
if (!$conn) { die("Koneksi gagal: " . mysqli_connect_error()); }
|
||||
?>
|
||||
Reference in New Issue
Block a user