mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-05 07:20:58 +08:00
add complain switch
This commit is contained in:
@@ -192,6 +192,11 @@ class Setting extends NexusModel
|
||||
return self::get('main.spsct') == 'yes';
|
||||
}
|
||||
|
||||
public static function getIsComplainEnabled(): bool
|
||||
{
|
||||
return self::get('main.complain_enabled') == 'yes';
|
||||
}
|
||||
|
||||
public static function getIsAllowUserReceiveEmailNotification(): bool
|
||||
{
|
||||
return self::get('smtp.emailnotify') == 'yes';
|
||||
|
||||
Reference in New Issue
Block a user