text4u
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

123456789101112131415161718192021222324252627282930313233343536
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Enable autosave
  6. |--------------------------------------------------------------------------
  7. |
  8. | THIS IS A EXPERIMENTAL FEATURE. Things may go wrong.
  9. |
  10. | Set to true to enable autosave. You must also enable autosave
  11. | manually in every collection in order for it to work.
  12. |
  13. | For example, inside `content/collections/pages.yaml`, add
  14. | `autosave: 5000` for a 5s interval or `autosave: true`
  15. | to use the default interval as defined below.
  16. |
  17. */
  18. 'enabled' => false,
  19. /*
  20. |--------------------------------------------------------------------------
  21. | Default autosave interval
  22. |--------------------------------------------------------------------------
  23. |
  24. | The default value may be set here and will apply to all collections.
  25. | However, it is also possible to manually adjust the value in the
  26. | each collection's config file. By default, this is set to 5s.
  27. |
  28. */
  29. 'interval' => 5000,
  30. ];