view.php 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. // +----------------------------------------------------------------------
  3. // | LARAVEL8.0 框架 [ LARAVEL ][ RXThinkCMF ]
  4. // +----------------------------------------------------------------------
  5. // | 版权所有 2017~2021 LARAVEL研发中心
  6. // +----------------------------------------------------------------------
  7. // | 官方网站: http://www.laravel.cn
  8. // +----------------------------------------------------------------------
  9. // | Author: laravel开发员 <laravel.qq.com>
  10. // +----------------------------------------------------------------------
  11. return [
  12. /*
  13. |--------------------------------------------------------------------------
  14. | View Storage Paths
  15. |--------------------------------------------------------------------------
  16. |
  17. | Most templating systems load templates from disk. Here you may specify
  18. | an array of paths that should be checked for your views. Of course
  19. | the usual Laravel view path has already been registered for you.
  20. |
  21. */
  22. 'paths' => [
  23. resource_path('views'),
  24. ],
  25. /*
  26. |--------------------------------------------------------------------------
  27. | Compiled View Path
  28. |--------------------------------------------------------------------------
  29. |
  30. | This option determines where all the compiled Blade templates will be
  31. | stored for your application. Typically, this is within the storage
  32. | directory. However, as usual, you are free to change this value.
  33. |
  34. */
  35. 'compiled' => env(
  36. 'VIEW_COMPILED_PATH',
  37. realpath(storage_path('framework/views'))
  38. ),
  39. ];