Преглед на файлове

Update landing page, use config_cache

Daniel Supernault преди 4 години
родител
ревизия
549202948d
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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