This commit is contained in:
benson
2023-04-24 22:36:27 +08:00
parent 932789578e
commit fb7d2c8b56
2 changed files with 2 additions and 2 deletions

View File

@@ -438,7 +438,7 @@ class Helper
public static function getYtdlConfig($uid = null): array
{
$config = [
'binary' => self::getSettings("ncd_yt_binary", null, Settings::TYPE['SYSTEM']),
'binary' => self::getAdminSettings("ncd_yt_binary"),
'downloadDir' => Helper::getRealDownloadDir(),
'settings' => self::newSettings()->getYtdl(),
];