fix (security): memperbaiki keamanan koneksi ke database
This commit is contained in:
@@ -10,8 +10,8 @@ if (strpos($host_sekarang, 'localhost') !== false || strpos($host_sekarang, '127
|
|||||||
} else {
|
} else {
|
||||||
// Gunakan Kredensial Normal User dari Coolify
|
// Gunakan Kredensial Normal User dari Coolify
|
||||||
$host = "b84c4osgw4kcw0wc8o8cg8cg";
|
$host = "b84c4osgw4kcw0wc8o8cg8cg";
|
||||||
$user = "root"; // Menggunakan root user
|
$user = "mysql"; // Menggunakan normal user
|
||||||
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password
|
$pass = "YN54ned6j7P6K7c76sLqh9ERUbm8xvhPFj31Mnt0yKPXxqrIhWICWlbJbJjUCfn7"; // Normal User Password
|
||||||
$db = "webgis_db";
|
$db = "webgis_db";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ if (strpos($host_sekarang, 'localhost') !== false || strpos($host_sekarang, '127
|
|||||||
} else {
|
} else {
|
||||||
// Gunakan Kredensial Normal User dari Coolify
|
// Gunakan Kredensial Normal User dari Coolify
|
||||||
$host = "b84c4osgw4kcw0wc8o8cg8cg";
|
$host = "b84c4osgw4kcw0wc8o8cg8cg";
|
||||||
$user = "root"; // Menggunakan root user
|
$user = "mysql"; // Menggunakan normal user
|
||||||
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password
|
$pass = "YN54ned6j7P6K7c76sLqh9ERUbm8xvhPFj31Mnt0yKPXxqrIhWICWlbJbJjUCfn7"; // Normal User Password
|
||||||
$db = "webgis_db_pertemuan1";
|
$db = "webgis_db_pertemuan1";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -10,8 +10,8 @@ if (strpos($host_sekarang, 'localhost') !== false || strpos($host_sekarang, '127
|
|||||||
} else {
|
} else {
|
||||||
// Gunakan Kredensial Normal User dari Coolify
|
// Gunakan Kredensial Normal User dari Coolify
|
||||||
$host = "b84c4osgw4kcw0wc8o8cg8cg";
|
$host = "b84c4osgw4kcw0wc8o8cg8cg";
|
||||||
$user = "root"; // Menggunakan root user
|
$user = "mysql"; // Menggunakan normal user
|
||||||
$pass = "yg7eDOyhmHwJaR93A1SdPawY3533dFd8GlIVnVezQiV3IWR5DDc7ApQeIkzKneGL"; // Root User Password
|
$pass = "YN54ned6j7P6K7c76sLqh9ERUbm8xvhPFj31Mnt0yKPXxqrIhWICWlbJbJjUCfn7"; // Normal User Password
|
||||||
$db = "webgis_db_pertemuan2";
|
$db = "webgis_db_pertemuan2";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user