* remove global site url

* missed one

* revert mysterious change
Этот коммит содержится в:
Chris
2018-02-22 18:23:32 -06:00
коммит произвёл GitHub
родитель 1b3808f3ec
Коммит d44ef7ea67
12 изменённых файлов: 32 добавлений и 35 удалений

Просмотреть файл

@@ -34,15 +34,6 @@ const (
)
var originalDisableDebugLvl l4g.Level = l4g.DEBUG
var siteURL = ""
func GetSiteURL() string {
return siteURL
}
func SetSiteURL(url string) {
siteURL = strings.TrimRight(url, "/")
}
// FindConfigFile attempts to find an existing configuration file. fileName can be an absolute or
// relative path or name such as "/opt/mattermost/config.json" or simply "config.json". An empty