Browse Source

set default nickname empty

master
filesite 6 months ago
parent
commit
0066069e73
  1. 2
      plugins/Common.php

2
plugins/Common.php

@ -131,7 +131,7 @@ Class Common { @@ -131,7 +131,7 @@ Class Common {
$dirPath = str_replace($username, $dir, $rootDir);
$filepath = "{$dirPath}/README_nickname.txt";
$nickname = $username;
$nickname = '';
if (file_exists($filepath)) {
$nickname = file_get_contents($filepath);
if (!empty($nickname)) {

Loading…
Cancel
Save