mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-19 00:01:00 +08:00
self enable
This commit is contained in:
@@ -334,4 +334,9 @@ class Setting extends NexusModel
|
||||
{
|
||||
return self::get('main.showimdbinfo') == 'yes';
|
||||
}
|
||||
|
||||
public static function getSelfEnableBonus(): int
|
||||
{
|
||||
return (int)self::get("bonus.self_enable", BonusLogs::DEFAULT_BONUS_SELF_ENABLE);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user