Prechádzať zdrojové kódy

Update landing page, use config_cache

Daniel Supernault 4 rokov pred
rodič
commit
549202948d
1 zmenil súbory, kde vykonal 1 pridanie a 1 odobranie
  1. 1 1
      resources/views/site/index.blade.php

+ 1 - 1
resources/views/site/index.blade.php

@@ -127,7 +127,7 @@
 						</div>
 						<div class="card shadow-none border card-body">
 							<p class="text-center mb-0 font-weight-bold small">
-								@if(config('pixelfed.open_registration'))
+								@if(config_cache('pixelfed.open_registration'))
 								<a href="/register">Register</a>
 								<span class="px-1">·</span>
 								@endif