summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rwxr-xr-xserver/server/config.cpp6
-rwxr-xr-xserver/server/config.h4
2 files changed, 5 insertions, 5 deletions
diff --git a/server/server/config.cpp b/server/server/config.cpp
index e7cfe98..cc972c6 100755
--- a/server/server/config.cpp
+++ b/server/server/config.cpp
@@ -64,7 +64,7 @@ void config::load_vars()
vars.bind_ip = get_string(cfg_str, "BindAddress=", "0.0.0.0");
vars.log_path = get_string(cfg_str, "LogPath=", "");
vars.dos_log_path = get_string(cfg_str, "DosLogPath=", "");
- vars.proxifier_path = get_string(cfg_str, "ProxifierPath=", "c:/proxifier");
+// vars.proxifier_path = get_string(cfg_str, "ProxifierPath=", "c:/proxifier");
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);
@@ -549,10 +549,10 @@ const std::string& config::dos_log_path()
{
return vars.dos_log_path;
}
-const std::string& config::proxifier_path()
+/*const std::string& config::proxifier_path()
{
return vars.proxifier_path;
-}
+}*/
std::list<config::proxy_entry> *config::get_proxy_list()
{
return &proxy_list;
diff --git a/server/server/config.h b/server/server/config.h
index 0f6a695..94d5df3 100755
--- a/server/server/config.h
+++ b/server/server/config.h
@@ -186,7 +186,7 @@ private:
{
int ban_time, conn_count, check_interval, debug, dos_conn_count, conn_time, config_reload_interval, proxy_check_interval;
bool ignore_ssl_errors;
- std::string log_path, bind_ip, dos_log_path, proxifier_path, speed_test_file_url;
+ std::string log_path, bind_ip, dos_log_path, /*proxifier_path, */speed_test_file_url;
cfg_data()
{
ignore_ssl_errors = false;
@@ -198,7 +198,7 @@ private:
debug = 0;
dos_conn_count = 200;
bind_ip = "0.0.0.0";
- proxifier_path = "c:/proxifier";
+// proxifier_path = "c:/proxifier";
speed_test_file_url = "http://localhost/speed.test";
}
};