From 5ea6fe18a89c3d0f5c0860d3777bff97510577b5 Mon Sep 17 00:00:00 2001 From: Taylor Otwell Date: Tue, 20 Nov 2018 21:46:11 -0600 Subject: [PATCH] add env variable for compiled view path --- config/view.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/view.php b/config/view.php index 2acfd9cc..22b8a18d 100644 --- a/config/view.php +++ b/config/view.php @@ -28,6 +28,9 @@ return [ | */ - 'compiled' => realpath(storage_path('framework/views')), + 'compiled' => env( + 'VIEW_COMPILED_PATH', + realpath(storage_path('framework/views')) + ), ];