view.php 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. <?php
  2. /*
  3. * This file is part of the Jiannei/lumen-api-starter.
  4. *
  5. * (c) Jiannei <longjian.huang@foxmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. return [
  11. /*
  12. |--------------------------------------------------------------------------
  13. | View Storage Paths
  14. |--------------------------------------------------------------------------
  15. |
  16. | Most templating systems load templates from disk. Here you may specify
  17. | an array of paths that should be checked for your views. Of course
  18. | the usual Laravel view path has already been registered for you.
  19. |
  20. */
  21. 'paths' => [
  22. resource_path('views'),
  23. ],
  24. /*
  25. |--------------------------------------------------------------------------
  26. | Compiled View Path
  27. |--------------------------------------------------------------------------
  28. |
  29. | This option determines where all the compiled Blade templates will be
  30. | stored for your application. Typically, this is within the storage
  31. | directory. However, as usual, you are free to change this value.
  32. |
  33. */
  34. 'compiled' => realpath(storage_path('framework/views')),
  35. ];