Merge branch 'php8' into section

This commit is contained in:
xiaomlove
2022-09-12 22:45:45 +08:00
50 changed files with 665 additions and 94 deletions
+1
View File
@@ -568,6 +568,7 @@ class Install
$this->doLog("[SAVE SETTING], prefix: $prefix, nameAndValues: " . json_encode($group));
saveSetting($prefix, $group);
}
}
public function createSymbolicLinks($symbolicLinks)
+1
View File
@@ -386,6 +386,7 @@ class Update extends Install
}
// $command = sprintf('cp -raf %s/. %s', $path, ROOT_PATH);
$command = "rsync -rvq $path/ " . ROOT_PATH;
$command .= " --include=public/vendor";
foreach ($excludes as $exclude) {
$command .= " --exclude=$exclude";
}
+1
View File
@@ -176,6 +176,7 @@ return array (
'view_special_torrent' => '4',
'torrent_hr' => User::CLASS_ADMINISTRATOR,
'torrent-approval' => User::CLASS_ADMINISTRATOR,
'torrent-delete' => User::CLASS_ADMINISTRATOR,
),
'tweak' =>
array (