Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

system.php 7.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221
  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 be 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. | Enable Multi-site
  18. |--------------------------------------------------------------------------
  19. |
  20. | Whether Statamic's multi-site functionality should be enabled. It is
  21. | assumed Statamic Pro is also enabled. To get started, you can run
  22. | the `php please multisite` command to update your content file
  23. | structure, after which you can manage your sites in the CP.
  24. |
  25. | https://statamic.dev/multi-site
  26. |
  27. */
  28. 'multisite' => false,
  29. /*
  30. |--------------------------------------------------------------------------
  31. | Default Addons Paths
  32. |--------------------------------------------------------------------------
  33. |
  34. | When generating addons via `php please make:addon`, this path will be
  35. | used by default. You can still specify custom repository paths in
  36. | your composer.json, but this is the path used by the generator.
  37. |
  38. */
  39. 'addons_path' => base_path('addons'),
  40. /*
  41. |--------------------------------------------------------------------------
  42. | Send the Powered-By Header
  43. |--------------------------------------------------------------------------
  44. |
  45. | Websites like builtwith.com use the X-Powered-By header to determine
  46. | what technologies are used on a particular site. By default, we'll
  47. | send this header, but you are absolutely allowed to disable it.
  48. |
  49. */
  50. 'send_powered_by_header' => true,
  51. /*
  52. |--------------------------------------------------------------------------
  53. | Date Format
  54. |--------------------------------------------------------------------------
  55. |
  56. | Whenever a Carbon date is cast to a string on front-end routes, it will
  57. | use this format. On CP routes, the format defined in cp.php is used.
  58. | You can customize this format using PHP's date string constants.
  59. | Setting this value to null will use Carbon's default format.
  60. |
  61. | https://www.php.net/manual/en/function.date.php
  62. |
  63. */
  64. 'date_format' => 'F jS, Y',
  65. /*
  66. |--------------------------------------------------------------------------
  67. | Default Character Set
  68. |--------------------------------------------------------------------------
  69. |
  70. | Statamic will use this character set when performing specific string
  71. | encoding and decoding operations; This does not apply everywhere.
  72. |
  73. */
  74. 'charset' => 'UTF-8',
  75. /*
  76. |--------------------------------------------------------------------------
  77. | Track Last Update
  78. |--------------------------------------------------------------------------
  79. |
  80. | Statamic will automatically set an `updated_at` timestamp (along with
  81. | `updated_by`, where applicable) when specific content is updated.
  82. | In some situations, you may wish disable this functionality.
  83. |
  84. */
  85. 'track_last_update' => true,
  86. /*
  87. |--------------------------------------------------------------------------
  88. | Enable Cache Tags
  89. |--------------------------------------------------------------------------
  90. |
  91. | Sometimes you'll want to be able to disable the {{ cache }} tags in
  92. | Antlers, so here is where you can do that. Otherwise, it will be
  93. | enabled all the time.
  94. |
  95. */
  96. 'cache_tags_enabled' => env('STATAMIC_CACHE_TAGS_ENABLED', true),
  97. /*
  98. |--------------------------------------------------------------------------
  99. | Intensive Operations
  100. |--------------------------------------------------------------------------
  101. |
  102. | Sometimes Statamic requires extra resources to complete intensive
  103. | operations. Here you may configure system resource limits for
  104. | those rare times when we need to turn things up to eleven!
  105. |
  106. */
  107. 'php_memory_limit' => '-1',
  108. 'php_max_execution_time' => '0',
  109. 'ajax_timeout' => '600000',
  110. 'pcre_backtrack_limit' => '-1',
  111. /*
  112. |--------------------------------------------------------------------------
  113. | Debugbar Integration
  114. |--------------------------------------------------------------------------
  115. |
  116. | Statamic integrates with Laravel Debugbar to bring more detail to your
  117. | debugging experience. Here you may adjust various default options.
  118. |
  119. */
  120. 'debugbar' => [
  121. 'pretty_print_variables' => true,
  122. ],
  123. /*
  124. |--------------------------------------------------------------------------
  125. | ASCII
  126. |--------------------------------------------------------------------------
  127. |
  128. | During various string manipulations (e.g. slugification), Statamic will
  129. | need to make ASCII character conversions. Here you may define whether
  130. | or not extra characters get converted. e.g. "%" becomes "percent".
  131. |
  132. */
  133. 'ascii_replace_extra_symbols' => false,
  134. /*
  135. |--------------------------------------------------------------------------
  136. | Update References on Change
  137. |--------------------------------------------------------------------------
  138. |
  139. | With this enabled, Statamic will attempt to update references to assets
  140. | and terms when moving, renaming, replacing, deleting, etc. This will
  141. | be queued, but it can disabled as needed for performance reasons.
  142. |
  143. */
  144. 'update_references' => true,
  145. /*
  146. |--------------------------------------------------------------------------
  147. | Always Augment to Query
  148. |--------------------------------------------------------------------------
  149. |
  150. | By default, Statamic will augment relationship fields with max_items: 1
  151. | to the result of a query, for example an Entry instance. Setting this
  152. | to true will augment to the query builder instead of the result.
  153. |
  154. */
  155. 'always_augment_to_query' => false,
  156. /*
  157. |--------------------------------------------------------------------------
  158. | Row ID handle
  159. |--------------------------------------------------------------------------
  160. |
  161. | Rows in Grid, Replicator, and Bard fields will be given a unique ID using
  162. | the "id" field. You may need your own field named "id", in which case
  163. | you may customize the handle of the field that Statamic will use.
  164. |
  165. */
  166. 'row_id_handle' => 'id',
  167. /*
  168. |--------------------------------------------------------------------------
  169. | Fake SQL Queries
  170. |--------------------------------------------------------------------------
  171. |
  172. | Enable while using the flat-file Stache driver to show fake "SQL" query
  173. | approximations in your database debugging tools — including Debugbar,
  174. | Laravel Telescope, and Ray with the ray()->showQueries() helper.
  175. |
  176. */
  177. 'fake_sql_queries' => config('app.debug'),
  178. /*
  179. |--------------------------------------------------------------------------
  180. | Layout
  181. |--------------------------------------------------------------------------
  182. |
  183. | Define the default layout that will be used by views.
  184. |
  185. */
  186. 'layout' => env('STATAMIC_LAYOUT', 'layout'),
  187. ];