From c601ca15c022a6764f594529253d7e23db97455b Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Wed, 4 Mar 2020 19:06:34 +0100 Subject: [PATCH] done #3458 --- src/app/helpers.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/app/helpers.php b/src/app/helpers.php index 256dd19..1b072ca 100644 --- a/src/app/helpers.php +++ b/src/app/helpers.php @@ -25,3 +25,10 @@ if (!function_exists('vendor_asset')) { return asset($path); } } + +if (!function_exists('protected_path')) { + function protected_path($path = '') + { + return base_path('protected/' . $path); + } +} -- 2.39.5