浏览代码

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