]> source.dussan.org Git - gitea.git/commit
Set session and indexers' data files rel to AppDataPath (#2192)
authorGuillaume Dube <guillaume.dube.girard@gmail.com>
Fri, 3 Nov 2017 08:56:20 +0000 (04:56 -0400)
committerLauris BH <lauris@nix.lv>
Fri, 3 Nov 2017 08:56:20 +0000 (10:56 +0200)
commit8798cf4e3ba30bc0bdea073bf273ac27b71b78ce
tree3dd0c3cc8c9448d1be0211a15b5c4094181fabed
parent95637e046f4cca1ce6adc0eb7e03548034dedeac
Set session and indexers' data files rel to AppDataPath (#2192)

* Set session and indexers' data files rel to AppDataPath

The setting AppDataPath is now relative to the working directory.
The session svc's PROVIDER_CONFIG now defaults to AppDataPath/data/sessions.
The issue indexer's IssuePath now defaults to AppDataPath/indexers/issues.bleves.

* fix bug
cmd/dump.go
cmd/serv.go
models/models.go
modules/setting/setting.go
routers/init.go