diff options
author | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
---|---|---|
committer | Wolfy-J <[email protected]> | 2018-09-30 17:58:16 +0300 |
commit | 734fab795eb5ee396ee76955c9ddadc4f3b09112 (patch) | |
tree | cec3a313fe207c3f91cd142d6d37202ef4db9494 /service/env | |
parent | 6122fca108c20984732c969fb1ba53cce5b3c44a (diff) |
https and http2 support
Diffstat (limited to 'service/env')
-rw-r--r-- | service/env/service.go | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/service/env/service.go b/service/env/service.go index 41e70bee..4d1327d4 100644 --- a/service/env/service.go +++ b/service/env/service.go @@ -1,12 +1,7 @@ package env -const ( - // ID contains default service name. - ID = "env" - - // rrKey contains default env key to indicate than php running in RR mode. - rrKey = "rr" -) +// ID contains default service name. +const ID = "env" // Service provides ability to map _ENV values from config file. type Service struct { @@ -25,7 +20,7 @@ func NewService(defaults map[string]string) *Service { func (s *Service) Init(cfg *Config) (bool, error) { if s.values == nil { s.values = make(map[string]string) - s.values[rrKey] = "yes" + s.values["RR"] = "true" } for k, v := range cfg.Values { |