Explorar o código

Update landing page, use config_cache

Daniel Supernault %!s(int64=4) %!d(string=hai) anos
pai
achega
549202948d
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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