From c097c0ae090d564bead23b0d451e791896049f74 Mon Sep 17 00:00:00 2001 From: JulianPrieber <60265788+JulianPrieber@users.noreply.github.com> Date: Mon, 14 Feb 2022 12:56:03 +0100 Subject: [PATCH] Change public path MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- resources/views/panel/edit-user.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/panel/edit-user.blade.php b/resources/views/panel/edit-user.blade.php index ef61963..223178c 100755 --- a/resources/views/panel/edit-user.blade.php +++ b/resources/views/panel/edit-user.blade.php @@ -25,7 +25,7 @@
- @if(file_exists(public_path("img/$user->littlelink_name" . ".png" ))) + @if(file_exists(base_path("img/$user->littlelink_name" . ".png" ))) littlelink_name" . ".png") }}" srcset="{{ asset("img/$user->littlelink_name" . "@2x.png 2x") }}" width="100px" height="100px"> @else