mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-12-23 06:42:41 +00:00
Merge 742d901a61 into 0ea8b5352a
This commit is contained in:
commit
633194bee2
2 changed files with 2 additions and 2 deletions
|
|
@ -109,7 +109,7 @@ func GetLogFolder() string {
|
|||
if runtime.GOOS == "windows" {
|
||||
return filepath.Join(".", "log")
|
||||
}
|
||||
return "/var/log"
|
||||
return "/var/log/3x-ui"
|
||||
}
|
||||
|
||||
func copyFile(src, dst string) error {
|
||||
|
|
|
|||
2
x-ui.sh
2
x-ui.sh
|
|
@ -39,7 +39,7 @@ os_version=""
|
|||
os_version=$(grep "^VERSION_ID" /etc/os-release | cut -d '=' -f2 | tr -d '"' | tr -d '.')
|
||||
|
||||
# Declare Variables
|
||||
log_folder="${XUI_LOG_FOLDER:=/var/log}"
|
||||
log_folder="${XUI_LOG_FOLDER:=/var/log/3x-ui}"
|
||||
iplimit_log_path="${log_folder}/3xipl.log"
|
||||
iplimit_banned_log_path="${log_folder}/3xipl-banned.log"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue