telemetry_settings.php 822 B

1234567891011121314151617181920212223242526
  1. <?php
  2. // Type of db: "mysql", "sqlite" or "postgresql"
  3. $db_type = 'mysql';
  4. // Password to login to stats.php. Change this!!!
  5. $stats_password = 'PASSWORD';
  6. // If set to true, test IDs will be obfuscated to prevent users from guessing URLs of other tests
  7. $enable_id_obfuscation = false;
  8. // If set to true, IP addresses will be redacted from IP and ISP info fields, as well as the log
  9. $redact_ip_addresses = false;
  10. // Sqlite3 settings
  11. $Sqlite_db_file = '../../speedtest_telemetry.sql';
  12. // Mysql settings
  13. $MySql_username = 'USERNAME';
  14. $MySql_password = 'PASSWORD';
  15. $MySql_hostname = 'DB_HOSTNAME';
  16. $MySql_databasename = 'DB_NAME';
  17. $MySql_port = '3306';
  18. // Postgresql settings
  19. $PostgreSql_username = 'USERNAME';
  20. $PostgreSql_password = 'PASSWORD';
  21. $PostgreSql_hostname = 'DB_HOSTNAME';
  22. $PostgreSql_databasename = 'DB_NAME';