From 14c324734f1937b7cf5572162b1090a7463d5de1 Mon Sep 17 00:00:00 2001 From: JulianPrieber <60265788+JulianPrieber@users.noreply.github.com> Date: Mon, 14 Feb 2022 12:54:51 +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/littlelink.blade.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/resources/views/littlelink.blade.php b/resources/views/littlelink.blade.php index cf94b65..af598eb 100644 --- a/resources/views/littlelink.blade.php +++ b/resources/views/littlelink.blade.php @@ -15,7 +15,7 @@ - @if(file_exists(public_path("img/$littlelink_name" . ".png" ))) + @if(file_exists(base_path("img/$littlelink_name" . ".png" ))) @else @@ -27,7 +27,7 @@ - @if(file_exists(public_path("img/$littlelink_name" . ".png" ))) + @if(file_exists(base_path("img/$littlelink_name" . ".png" ))) @else @@ -63,7 +63,7 @@
- @if(file_exists(public_path("img/$littlelink_name" . ".png" ))) + @if(file_exists(base_path("img/$littlelink_name" . ".png" ))) @else