Browse Source

fix

pull/316/head
fatedier 8 years ago
parent
commit
58d0d41501
  1. 4
      models/config/proxy.go

4
models/config/proxy.go

@ -115,7 +115,11 @@ func (cfg *BaseProxyConf) LoadFromFile(name string, section ini.Section) error {
tmpStr string
ok bool
)
if ClientCommonCfg.User != "" {
cfg.ProxyName = ClientCommonCfg.User + "." + name
} else {
cfg.ProxyName = name
}
cfg.ProxyType = section["type"]
tmpStr, ok = section["use_encryption"]

Loading…
Cancel
Save