Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'xray/process.go')
-rw-r--r--xray/process.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/xray/process.go b/xray/process.go
index 9bccffd9..b860360f 100644
--- a/xray/process.go
+++ b/xray/process.go
@@ -13,6 +13,7 @@ import (
"strings"
"sync"
"syscall"
+
"x-ui/config"
"x-ui/logger"
"x-ui/util/common"
@@ -40,6 +41,10 @@ func GetGeoipPath() string {
return config.GetBinFolderPath() + "/geoip.dat"
}
+func GetIranPath() string {
+ return config.GetBinFolderPath() + "/iran.dat"
+}
+
func GetIPLimitLogPath() string {
return config.GetLogFolder() + "/3xipl.log"
}