mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-24 00:13:17 +01:00
Change public path
This is one of multiple public path edits. For simplified usability, I am integrating the public Laravel directory into the root directory. For this, I am changing every instance of 'public_path' to 'base_path' and will use this format in future changes as well.
This commit is contained in:
parent
dc4ab42663
commit
1c7f71e56f
@ -54,7 +54,7 @@
|
||||
|
||||
<div class="updated" style="display:none">
|
||||
@foreach($updatedPages as $page)
|
||||
@if(file_exists(public_path("img/$page->littlelink_name" . ".png" )))
|
||||
@if(file_exists(base_path("img/$page->littlelink_name" . ".png" )))
|
||||
<a href="{{ config('app.url') }}/@<?= $page->littlelink_name ?>" target="_blank">
|
||||
<img src="{{ asset("img/$page->littlelink_name" . ".png") }}" srcset="{{ asset("img/$page->littlelink_name" . "@2x.png 2x") }}" width="50px" height="50px">
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user