diff options
author | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-26 21:49:09 +0800 |
---|---|---|
committer | FuXiaoHei <fuxiaohei@hexiaz.com> | 2014-03-26 21:49:09 +0800 |
commit | 8c2f751bbb22ebf06c7f7f9621614b6e46130210 (patch) | |
tree | 5b90a56d40ef41431aa68bfc4c3733d9d5745b55 /modules/base/conf.go | |
parent | 08405a4fea1d2e5c73a73dafd866e0c00c7749c2 (diff) | |
parent | 32e05ae2120e864d6e1bd85fb01ef87e23c3ae89 (diff) | |
download | gitea-8c2f751bbb22ebf06c7f7f9621614b6e46130210.tar.gz gitea-8c2f751bbb22ebf06c7f7f9621614b6e46130210.zip |
Merge branch 'master' of https://github.com/gogits/gogs
Diffstat (limited to 'modules/base/conf.go')
-rw-r--r-- | modules/base/conf.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/base/conf.go b/modules/base/conf.go index 0fb1ccdcf6..2e56883937 100644 --- a/modules/base/conf.go +++ b/modules/base/conf.go @@ -80,7 +80,7 @@ func ExecDir() (string, error) { if err != nil { return "", err } - return path.Dir(p), nil + return path.Dir(strings.Replace(p, "\\", "/", -1)), nil } var logLevels = map[string]string{ |