edit lagi lagi
This commit is contained in:
@@ -6,11 +6,11 @@ header('Access-Control-Allow-Methods: POST, GET, OPTIONS');
|
||||
header('Access-Control-Allow-Headers: Content-Type');
|
||||
if ($_SERVER['REQUEST_METHOD'] === 'OPTIONS') { http_response_code(204); exit; }
|
||||
|
||||
$db_host = getenv('DB_HOST') ?: 'localhost';
|
||||
$db_host = getenv('DB_HOST') ?: 'mysql-database-bwg8woskog0osso8wg4s4ogk';
|
||||
$db_port = getenv('DB_PORT') ?: '3406';
|
||||
$db_name = getenv('DB_NAME') ?: 'sipkem';
|
||||
$db_user = getenv('DB_USER') ?: 'mysql';
|
||||
$db_pass = getenv('DB_PASS') ?: '';
|
||||
$db_pass = getenv('DB_PASS') ?: 'ep5qnTbKEzbEa6y4n2y2JefTo46fUIiy5dybUJBD0gUAkK7NmHwfyhWDOckDiQxo';
|
||||
|
||||
$pdo = new PDO("mysql:host=$host;dbname=$db;charset=utf8", $user, $pass);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user