mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-15 21:41:03 +08:00
fix details page other version hr img
This commit is contained in:
@@ -134,6 +134,12 @@ class HitAndRun extends NexusModel
|
||||
return apply_filter("nexus_setting_get", $default, $name, ['mode' => $searchBoxId]);
|
||||
}
|
||||
|
||||
public static function diffInSection(): bool
|
||||
{
|
||||
$enableSpecialSection = Setting::get('main.spsct') == 'yes';
|
||||
return $enableSpecialSection && apply_filter("hit_and_run_diff_in_section", false);
|
||||
}
|
||||
|
||||
public function torrent(): \Illuminate\Database\Eloquent\Relations\BelongsTo
|
||||
{
|
||||
return $this->belongsTo(Torrent::class, 'torrent_id');
|
||||
|
||||
Reference in New Issue
Block a user