mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-16 20:11:01 +01:00
Fixed custom backgrounds for non admins
This commit is contained in:
parent
76fadcdab6
commit
e6af9ec894
@ -276,6 +276,7 @@ try{ if($GLOBALS['updateAv'] == true) echo '<img style="padding-left:40px; paddi
|
||||
}catch(Exception $ex){}
|
||||
?>
|
||||
|
||||
@endif
|
||||
@endif
|
||||
|
||||
@if(env('ALLOW_CUSTOM_BACKGROUNDS') == true)
|
||||
@ -303,6 +304,7 @@ try{ if($GLOBALS['updateAv'] == true) echo '<img style="padding-left:40px; paddi
|
||||
</form>
|
||||
@endif
|
||||
|
||||
@if(auth()->user()->role == 'admin')
|
||||
<br><br><br>
|
||||
<form action="{{ route('editTheme') }}" enctype="multipart/form-data" method="post">
|
||||
@csrf
|
||||
|
Loading…
x
Reference in New Issue
Block a user