text4u
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

system.php 5.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | License Key
  6. |--------------------------------------------------------------------------
  7. |
  8. | The license key for the corresponding domain from your Statamic account.
  9. | Without a key entered, your app will considered to be in Trial Mode.
  10. |
  11. | https://statamic.dev/licensing#trial-mode
  12. |
  13. */
  14. 'license_key' => env('STATAMIC_LICENSE_KEY'),
  15. /*
  16. |--------------------------------------------------------------------------
  17. | Default Addons Paths
  18. |--------------------------------------------------------------------------
  19. |
  20. | When generating addons via `php please make:addon`, this path will be
  21. | used by default. You can still specify custom repository paths in
  22. | your composer.json, but this is the path used by the generator.
  23. |
  24. */
  25. 'addons_path' => base_path('addons'),
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Send the Powered-By Header
  29. |--------------------------------------------------------------------------
  30. |
  31. | Websites like builtwith.com use the X-Powered-By header to determine
  32. | what technologies are used on a particular site. By default, we'll
  33. | send this header, but you are absolutely allowed to disable it.
  34. |
  35. */
  36. 'send_powered_by_header' => true,
  37. /*
  38. |--------------------------------------------------------------------------
  39. | Date Format
  40. |--------------------------------------------------------------------------
  41. |
  42. | Whenever a Carbon date is cast to a string on front-end routes, it will
  43. | use this format. On CP routes, the format defined in cp.php is used.
  44. | You can customize this format using PHP's date string constants.
  45. | Setting this value to null will use Carbon's default format.
  46. |
  47. | https://www.php.net/manual/en/function.date.php
  48. |
  49. */
  50. 'date_format' => 'F jS, Y',
  51. /*
  52. |--------------------------------------------------------------------------
  53. | Default Character Set
  54. |--------------------------------------------------------------------------
  55. |
  56. | Statamic will use this character set when performing specific string
  57. | encoding and decoding operations; This does not apply everywhere.
  58. |
  59. */
  60. 'charset' => 'UTF-8',
  61. /*
  62. |--------------------------------------------------------------------------
  63. | Track Last Update
  64. |--------------------------------------------------------------------------
  65. |
  66. | Statamic will automatically set an `updated_at` timestamp (along with
  67. | `updated_by`, where applicable) when specific content is updated.
  68. | In some situations, you may wish disable this functionality.
  69. |
  70. */
  71. 'track_last_update' => true,
  72. /*
  73. |--------------------------------------------------------------------------
  74. | Enable Cache Tags
  75. |--------------------------------------------------------------------------
  76. |
  77. | Sometimes you'll want to be able to disable the {{ cache }} tags in
  78. | Antlers, so here is where you can do that. Otherwise, it will be
  79. | enabled all the time.
  80. |
  81. */
  82. 'cache_tags_enabled' => env('STATAMIC_CACHE_TAGS_ENABLED', true),
  83. /*
  84. |--------------------------------------------------------------------------
  85. | Intensive Operations
  86. |--------------------------------------------------------------------------
  87. |
  88. | Sometimes Statamic requires extra resources to complete intensive
  89. | operations. Here you may configure system resource limits for
  90. | those rare times when we need to turn things up to eleven!
  91. |
  92. */
  93. 'php_memory_limit' => '-1',
  94. 'php_max_execution_time' => '0',
  95. 'ajax_timeout' => '600000',
  96. 'pcre_backtrack_limit' => '-1',
  97. /*
  98. |--------------------------------------------------------------------------
  99. | Debugbar Integration
  100. |--------------------------------------------------------------------------
  101. |
  102. | Statamic integrates with Laravel Debugbar to bring more detail to your
  103. | debugging experience. Here you may adjust various default options.
  104. |
  105. */
  106. 'debugbar' => [
  107. 'pretty_print_variables' => true,
  108. ],
  109. /*
  110. |--------------------------------------------------------------------------
  111. | ASCII
  112. |--------------------------------------------------------------------------
  113. |
  114. | During various string manipulations (e.g. slugification), Statamic will
  115. | need to make ASCII character conversions. Here you may define whether
  116. | or not extra characters get converted. e.g. "%" becomes "percent".
  117. |
  118. */
  119. 'ascii_replace_extra_symbols' => false,
  120. /*
  121. |--------------------------------------------------------------------------
  122. | Update References on Change
  123. |--------------------------------------------------------------------------
  124. |
  125. | With this enabled, Statamic will attempt to update references to assets
  126. | and terms when moving, renaming, replacing, deleting, etc. This will
  127. | be queued, but it can disabled as needed for performance reasons.
  128. |
  129. */
  130. 'update_references' => true,
  131. ];