forked from alexjustesen/speedtest-tracker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspeedtest.php
More file actions
49 lines (31 loc) · 1.04 KB
/
speedtest.php
File metadata and controls
49 lines (31 loc) · 1.04 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<?php
use Carbon\Carbon;
return [
'build_date' => Carbon::parse('2025-04-10'),
'build_version' => 'v1.4.0',
/**
* General settings.
*/
'content_width' => env('CONTENT_WIDTH', '7xl'),
'prune_results_older_than' => (int) env('PRUNE_RESULTS_OLDER_THAN', 0),
'public_dashboard' => env('PUBLIC_DASHBOARD', false),
/**
* Speedtest settings.
*/
'schedule' => env('SPEEDTEST_SCHEDULE', false),
'servers' => env('SPEEDTEST_SERVERS'),
'blocked_servers' => env('SPEEDTEST_BLOCKED_SERVERS'),
'interface' => env('SPEEDTEST_INTERFACE'),
'checkinternet_url' => env('SPEEDTEST_CHECKINTERNET_URL', 'https://icanhazip.com'),
/**
* IP filtering settings.
*/
'skip_ips' => env('SPEEDTEST_SKIP_IPS', ''),
/**
* Threshold settings.
*/
'threshold_enabled' => env('THRESHOLD_ENABLED', false),
'threshold_download' => env('THRESHOLD_DOWNLOAD', 0),
'threshold_upload' => env('THRESHOLD_UPLOAD', 0),
'threshold_ping' => env('THRESHOLD_PING', 0) ,
];