mirror of
https://github.com/Ernous/TorrServerJellyfin.git
synced 2025-12-19 21:46:11 +05:00
20 lines
219 B
Go
20 lines
219 B
Go
package settings
|
|
|
|
var (
|
|
tdb *TDB
|
|
Path string
|
|
ReadOnly bool
|
|
HttpAuth bool
|
|
)
|
|
|
|
func InitSets(readOnly bool) {
|
|
ReadOnly = readOnly
|
|
tdb = NewTDB()
|
|
loadBTSets()
|
|
Migrate()
|
|
}
|
|
|
|
func CloseDB() {
|
|
tdb.CloseDB()
|
|
}
|