details.php award magic && display sponsorships

This commit is contained in:
xiaomlove
2021-06-08 09:58:41 +08:00
parent 0e05e6c061
commit 557c9d3b30
4 changed files with 11 additions and 2 deletions
+4
View File
@@ -2,6 +2,7 @@
namespace Nexus\Install;
use Illuminate\Support\Str;
use Nexus\Database\DB;
class Install
@@ -220,6 +221,9 @@ class Install
$value = $oldGroupValues[$key];
}
}
if ($prefix == 'basic' && Str::startsWith($value, 'localhost')) {
$value = '';
}
if (isset($requireDirs[$prefix]) && in_array($key, $requireDirs[$prefix])) {
$dir = getFullDirectory($value);
$tableRows[] = [