diff --git a/app/helpers.php b/app/helpers.php
index ed3e1dd3..379fcc37 100644
--- a/app/helpers.php
+++ b/app/helpers.php
@@ -214,6 +214,21 @@ if (!function_exists('public_mix')) {
}
}
+/**
+ * Wrap a call to url() and append the public folder before it
+ */
+if (!function_exists('public_url')) {
+ function public_url($path, array $parameters = [])
+ {
+ $publicBaseUrl = app()->publicUrlPath();
+ $path = $publicBaseUrl.$path;
+
+ $path = str_replace('//', '/', $path);
+
+ return url($path, $parameters);
+ }
+}
+
/*
* Show a date/time in the proper timezone for a user
*/
diff --git a/resources/views/system/errors/not_installed.blade.php b/resources/views/system/errors/not_installed.blade.php
index 88947ef2..5b9cac7f 100644
--- a/resources/views/system/errors/not_installed.blade.php
+++ b/resources/views/system/errors/not_installed.blade.php
@@ -60,7 +60,7 @@