]> _ Git - cubist_cms-back.git/commitdiff
done #3458
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 4 Mar 2020 18:06:34 +0000 (19:06 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Wed, 4 Mar 2020 18:06:34 +0000 (19:06 +0100)
src/app/helpers.php

index 256dd1989fe0f02ac855902ed126c17b7a92b62d..1b072ca8881220c3d1f5d31aeddd0c1aecc05a87 100644 (file)
@@ -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);
+    }
+}