mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-29 14:31:15 +08:00
16 lines
326 B
Go
16 lines
326 B
Go
package constant
|
|
|
|
import (
|
|
"path"
|
|
|
|
"github.com/1Panel-dev/1Panel/backend/global"
|
|
)
|
|
|
|
var (
|
|
DataDir = global.CONF.System.DataDir
|
|
ResourceDir = path.Join(DataDir, "resource")
|
|
AppResourceDir = path.Join(ResourceDir, "apps")
|
|
AppInstallDir = path.Join(DataDir, "apps")
|
|
TmpDir = path.Join(DataDir, "tmp")
|
|
)
|