Files
radio-free-elsewhere/config/db_credentials.example.php
T

19 lines
508 B
PHP
Executable File

<?php
// Database credentials template.
// Copy this file to db_credentials.php in the same directory and fill in real values.
// db_credentials.php is gitignored — never commit it. Upload it to the server via SFTP separately.
if (basename($_SERVER['SCRIPT_FILENAME'] ?? '') === basename(__FILE__)) {
http_response_code(403);
exit;
}
return [
'host' => 'localhost',
'port' => 3306,
'database' => '',
'username' => '',
'password' => '',
'charset' => 'utf8mb4',
];