view.php 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  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. daboryPath('themes/' . env('DBR_THEME') . '/pro/resources'),
  16. daboryPath('themes/' . env('DBR_THEME') . '/erp/resources'),
  17. daboryPath('themes/' . env('DBR_THEME')),
  18. daboryPath('themes'),
  19. // public_path('themes'),
  20. ],
  21. /*
  22. |--------------------------------------------------------------------------
  23. | Compiled View Path
  24. |--------------------------------------------------------------------------
  25. |
  26. | This option determines where all the compiled Blade templates will be
  27. | stored for your application. Typically, this is within the storage
  28. | directory. However, as usual, you are free to change this value.
  29. |
  30. */
  31. 'compiled' => env(
  32. 'VIEW_COMPILED_PATH',
  33. realpath(storage_path('framework/views'))
  34. ),
  35. ];