Use config where possible

This commit is contained in:
DariusIII
2024-10-28 11:29:09 +01:00
parent 2057bf906c
commit 05ebaf4442
36 changed files with 144 additions and 130 deletions
@@ -227,7 +227,7 @@ class RegisterController extends Controller
app('smarty.view')->assign('showregister', $showRegister);
app('smarty.view')->assign('error', $error);
app('smarty.view')->assign('invite_code_query', $this->inviteCodeQuery);
$theme = Settings::settingValue('site.main.style');
$theme = 'Gentele';
$nocaptcha = config('settings.nocaptcha_enabled');