From d399432e783a176134eaf0e8bd417c1025d5e7f8 Mon Sep 17 00:00:00 2001 From: filesite Date: Sun, 10 Aug 2025 10:42:45 +0800 Subject: [PATCH] add default nickname for default id --- plugins/Common.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/Common.php b/plugins/Common.php index 8462f50..8fbf12c 100644 --- a/plugins/Common.php +++ b/plugins/Common.php @@ -391,7 +391,7 @@ Class Common { $dirPath = str_replace("/{$username}", "/{$dir}", $rootDir); $filepath = "{$dirPath}/README_nickname.txt"; - $nickname = ''; + $nickname = $dir; //默认昵称跟id相同 if (file_exists($filepath)) { $nickname = file_get_contents($filepath); if (!empty($nickname)) {