From: Vincent Vanwaelscappel Date: Wed, 4 Mar 2020 18:06:34 +0000 (+0100) Subject: done #3458 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c601ca15c022a6764f594529253d7e23db97455b;p=cubist_cms-back.git done #3458 --- 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); + } +}