From 514e7790252e440e896a7686e26584021f8ed8f0 Mon Sep 17 00:00:00 2001 From: JulianPrieber <60265788+JulianPrieber@users.noreply.github.com> Date: Mon, 14 Feb 2022 12:56:50 +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/studio/page.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/views/studio/page.blade.php b/resources/views/studio/page.blade.php index 616b4a5..6f9a44e 100755 --- a/resources/views/studio/page.blade.php +++ b/resources/views/studio/page.blade.php @@ -13,7 +13,7 @@ @foreach($pages as $page)
- @if(file_exists(public_path("img/$page->littlelink_name" . ".png" ))) + @if(file_exists(base_path("img/$page->littlelink_name" . ".png" ))) littlelink_name" . ".png") }}" srcset="{{ asset("img/$page->littlelink_name" . "@2x.png 2x") }}" width="100px" height="100px"> @else