2017-11-07 05:40:02 +00:00
|
|
|
<?php
|
|
|
|
|
2020-10-20 05:43:48 +00:00
|
|
|
// Type of db: "mysql", "sqlite" or "postgresql"
|
|
|
|
$db_type = 'mysql';
|
|
|
|
// Password to login to stats.php. Change this!!!
|
|
|
|
$stats_password = 'PASSWORD';
|
|
|
|
// If set to true, test IDs will be obfuscated to prevent users from guessing URLs of other tests
|
|
|
|
$enable_id_obfuscation = false;
|
|
|
|
// If set to true, IP addresses will be redacted from IP and ISP info fields, as well as the log
|
|
|
|
$redact_ip_addresses = false;
|
2017-11-07 05:40:02 +00:00
|
|
|
|
|
|
|
// Sqlite3 settings
|
2020-10-20 05:43:48 +00:00
|
|
|
$Sqlite_db_file = '../../speedtest_telemetry.sql';
|
2017-11-07 05:40:02 +00:00
|
|
|
|
|
|
|
// Mysql settings
|
2020-10-20 05:43:48 +00:00
|
|
|
$MySql_username = 'USERNAME';
|
|
|
|
$MySql_password = 'PASSWORD';
|
|
|
|
$MySql_hostname = 'DB_HOSTNAME';
|
|
|
|
$MySql_databasename = 'DB_NAME';
|
|
|
|
$MySql_port = '3306';
|
2017-11-07 05:40:02 +00:00
|
|
|
|
|
|
|
// Postgresql settings
|
2020-10-20 05:43:48 +00:00
|
|
|
$PostgreSql_username = 'USERNAME';
|
|
|
|
$PostgreSql_password = 'PASSWORD';
|
|
|
|
$PostgreSql_hostname = 'DB_HOSTNAME';
|
|
|
|
$PostgreSql_databasename = 'DB_NAME';
|