Skip to content
This repository has been archived by the owner on Jun 6, 2024. It is now read-only.

Commit

Permalink
Merge pull request #367 from goddaren/fix_local_svip_config
Browse files Browse the repository at this point in the history
fix: 修复本地svip配置未正确生效问题
  • Loading branch information
yuantuo666 authored Apr 11, 2024
2 parents 06cb7ba + 84f234e commit 7310635
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Parse.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ public static function download($fs_id, $timestamp, $sign, $randsk, $share_id, $
return array("error" => 0, "filedata" => $FileData, "directlink" => $dlink, "user_agent" => "LogStatistic", "message" => $message);
}

list($ID, $cookie) = ["-1", config('baiduwp.cookie')];
list($ID, $cookie) = ["-1", config('baiduwp.svip_cookie') ? config('baiduwp.svip_cookie') : config('baiduwp.cookie')];

if (config('baiduwp.db')) {
$link_expired_time = config('baiduwp.link_expired_time') ?? 8;
Expand Down

0 comments on commit 7310635

Please sign in to comment.