You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
1015 B

5 years ago
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Cache Filename
  6. |--------------------------------------------------------------------------
  7. |
  8. | Cache configuration path
  9. |
  10. */
  11. 'cache_file' => storage_path('settings.json'),
  12. /*
  13. |--------------------------------------------------------------------------
  14. | Table name to store settings
  15. |--------------------------------------------------------------------------
  16. |
  17. | Info: If you change this table name, dont forget to update your settings migrations file.
  18. |
  19. */
  20. 'db_table' => 'settings',
  21. /*
  22. |--------------------------------------------------------------------------
  23. | Fallback setting
  24. |--------------------------------------------------------------------------
  25. |
  26. | Return Laravel config if the value with particular key is not found in cache or DB.
  27. | It will work if default value in laravel setting is not set, and this value is set to true
  28. |
  29. */
  30. 'fallback' => true
  31. ];