Skip to content

Commit a8c6a47

Browse files
committed
Removed config-legends.json
1 parent 1f87fdb commit a8c6a47

File tree

2 files changed

+0
-260
lines changed

2 files changed

+0
-260
lines changed

config/config-legends.json

Lines changed: 0 additions & 256 deletions
This file was deleted.

resources/views/components/config/config.blade.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,6 @@
157157

158158
<?php
159159
function toggle($key){
160-
$configNames = json_decode(file_get_contents(base_path('config/config-legends.json')));
161160
echo '
162161
<form id="'.$key.'-form" action="'.route('editConfig').'" enctype="multipart/form-data" method="post">
163162
<div class="form-group col-lg-8">
@@ -182,7 +181,6 @@ function toggle($key){
182181

183182
<?php
184183
function toggle2($key){
185-
$configNames = json_decode(file_get_contents(base_path('config/config-legends.json')));
186184
echo '
187185
<form id="'.$key.'-form" action="'.route('editConfig').'" enctype="multipart/form-data" method="post">
188186
<div class="form-group col-lg-8">
@@ -207,7 +205,6 @@ function toggle2($key){
207205

208206
<?php
209207
function text($key){
210-
$configNames = json_decode(file_get_contents(base_path('config/config-legends.json')));
211208
$configValue = str_replace('"', "", EnvEditor::getKey($key));
212209
echo '
213210
<form id="'.$key.'-form" action="'.route('editConfig').'" enctype="multipart/form-data" method="post">
@@ -413,7 +410,6 @@ function text($key){
413410
{{text('TITLE_FOOTER_HOME')}}
414411

415412
@php
416-
$configNames = json_decode(file_get_contents(base_path('config/config-legends.json')));
417413
$configValue = str_replace('"', "", EnvEditor::getKey('HOME_FOOTER_LINK'));
418414
@endphp
419415
<form id="HOME_FOOTER_LINK-form" action="{{route('editConfig')}}" enctype="multipart/form-data" method="post">

0 commit comments

Comments
 (0)