Fix the sqlite folder bug2.
This commit is contained in:
@ -198,7 +198,7 @@ func (this *TankConfig) SqliteFolder() string {
|
|||||||
if this.sqliteFolder == "" {
|
if this.sqliteFolder == "" {
|
||||||
//use default file location.
|
//use default file location.
|
||||||
if this.item == nil || this.item.SqliteFolder == "" {
|
if this.item == nil || this.item.SqliteFolder == "" {
|
||||||
this.sqliteFolder = util.GetHomePath() + "/conf"
|
this.sqliteFolder = util.GetHomePath() + "/matter"
|
||||||
} else {
|
} else {
|
||||||
this.sqliteFolder = util.UniformPath(this.item.SqliteFolder)
|
this.sqliteFolder = util.UniformPath(this.item.SqliteFolder)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user