summaryrefslogtreecommitdiff
path: root/server/server/config.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'server/server/config.cpp')
-rwxr-xr-xserver/server/config.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/server/config.cpp b/server/server/config.cpp
index 688d818..fafa1ad 100755
--- a/server/server/config.cpp
+++ b/server/server/config.cpp
@@ -39,6 +39,7 @@ void config::load_vars()
vars.ignore_ssl_errors = get_int(cfg_str, "IgnoreSslErrors=", 0);
vars.config_reload_interval = get_int(cfg_str, "ConfigReloadInterval=", 600);
vars.proxy_check_interval = get_int(cfg_str, "ProxyCheckInterval=", 6000);
+ vars.speed_test_file_url = get_string(cfg_str, "SpeedTestFileUrl=", "http://localhost/speed.test");
}
}
@@ -593,6 +594,10 @@ const std::string& config::c_bottom_text()
{
return cvars.bottom_text;
}
+const std::string& config::speed_test_file_url()
+{
+ return vars.speed_test_file_url;
+}
std::list<config::conn_server> *config::get_server_list()
{