mirror of https://github.com/1Panel-dev/1Panel
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
721 B
22 lines
721 B
package constant
|
|
|
|
import (
|
|
"path"
|
|
|
|
"github.com/1Panel-dev/1Panel/agent/global"
|
|
)
|
|
|
|
var (
|
|
DataDir = global.CONF.System.DataDir
|
|
ResourceDir = path.Join(DataDir, "resource")
|
|
AppResourceDir = path.Join(ResourceDir, "apps")
|
|
AppInstallDir = path.Join(DataDir, "apps")
|
|
LocalAppResourceDir = path.Join(AppResourceDir, "local")
|
|
LocalAppInstallDir = path.Join(AppInstallDir, "local")
|
|
RemoteAppResourceDir = path.Join(AppResourceDir, "remote")
|
|
RuntimeDir = path.Join(DataDir, "runtime")
|
|
RecycleBinDir = "/.1panel_clash"
|
|
SSLLogDir = path.Join(global.CONF.System.DataDir, "log", "ssl")
|
|
LogDir = path.Join(global.CONF.System.DataDir, "log")
|
|
)
|