view.php 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | View Storage Paths
  6. |--------------------------------------------------------------------------
  7. |
  8. | Most templating systems load templates from disk. Here you may specify
  9. | an array of paths that should be checked for your views. Of course
  10. | the usual Laravel view path has already been registered for you.
  11. |
  12. */
  13. 'paths' => [
  14. resource_path('views'),
  15. public_path('themes/'.env('THEME', 'default').'/views'),
  16. storage_path('app/public/template')
  17. ],
  18. /*
  19. |--------------------------------------------------------------------------
  20. | Compiled View Path
  21. |--------------------------------------------------------------------------
  22. |
  23. | This option determines where all the compiled Blade templates will be
  24. | stored for your application. Typically, this is within the storage
  25. | directory. However, as usual, you are free to change this value.
  26. |
  27. */
  28. 'compiled' => realpath(storage_path('framework/views')),
  29. ];