Browse Source

formatting

Taylor Otwell 4 years ago
parent
commit
91dd1f61cd
1 changed files with 4 additions and 3 deletions
  1. 4 3
      config/view.php

+ 4 - 3
config/view.php

@@ -35,14 +35,15 @@ return [
 
     /*
      |--------------------------------------------------------------------------
-     | Check Compiled Views
+     | Blade View Modification Checking
      |--------------------------------------------------------------------------
      |
      | On every request the framework will check to see if a view has expired
      | to determine if it needs to be recompiled. If you are in production
-     | and precompiling your views we can skip this check to save time.
+     | and precompiling views this feature may be disabled to save time.
      |
      */
-    'expires' => env('APP_ENV') !== 'production',
+
+    'expires' => env('VIEW_CHECK_EXPIRATION', true),
 
 ];