mirror of
https://github.com/NNTmux/newznab-tmux.git
synced 2026-08-29 00:01:21 +00:00
Simplify setting names and check
This commit is contained in:
@@ -35,7 +35,7 @@ class ApiV2Controller extends BasePageController
|
||||
$capabilities = [
|
||||
'server' => [
|
||||
'title' => config('app.name'),
|
||||
'strapline' => Settings::settingValue('site.main.strapline'),
|
||||
'strapline' => Settings::settingValue('strapline'),
|
||||
'email' => config('mail.from.address'),
|
||||
'url' => url('/'),
|
||||
],
|
||||
@@ -45,7 +45,7 @@ class ApiV2Controller extends BasePageController
|
||||
],
|
||||
'registration' => [
|
||||
'available' => 'no',
|
||||
'open' => (int) Settings::settingValue('..registerstatus') === 0 ? 'yes' : 'no',
|
||||
'open' => (int) Settings::settingValue('registerstatus') === 0 ? 'yes' : 'no',
|
||||
],
|
||||
'searching' => [
|
||||
'search' => ['available' => 'yes', 'supportedParams' => 'id'],
|
||||
|
||||
Reference in New Issue
Block a user