Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

cp.php 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Control Panel
  6. |--------------------------------------------------------------------------
  7. |
  8. | Whether the Control Panel should be enabled, and through what route.
  9. |
  10. */
  11. 'enabled' => env('CP_ENABLED', true),
  12. 'route' => env('CP_ROUTE', 'cp'),
  13. /*
  14. |--------------------------------------------------------------------------
  15. | Authentication
  16. |--------------------------------------------------------------------------
  17. |
  18. | Whether the Control Panel's authentication pages should be enabled,
  19. | and where users should be redirected in order to authenticate.
  20. |
  21. */
  22. 'auth' => [
  23. 'enabled' => true,
  24. 'redirect_to' => null,
  25. ],
  26. /*
  27. |--------------------------------------------------------------------------
  28. | Start Page
  29. |--------------------------------------------------------------------------
  30. |
  31. | When a user logs into the Control Panel, they will be taken here.
  32. | For example: "dashboard", "collections/pages", etc.
  33. |
  34. */
  35. 'start_page' => 'dashboard',
  36. /*
  37. |--------------------------------------------------------------------------
  38. | Dashboard Widgets
  39. |--------------------------------------------------------------------------
  40. |
  41. | Here you may define any number of dashboard widgets. You're free to
  42. | use the same widget multiple times in different configurations.
  43. |
  44. */
  45. 'widgets' => [
  46. 'getting_started',
  47. ],
  48. /*
  49. |--------------------------------------------------------------------------
  50. | Date Format
  51. |--------------------------------------------------------------------------
  52. |
  53. | When a date is encountered throughout the Control Panel, it will be
  54. | rendered in the following format unless overridden in specific
  55. | fields, and so on. Any PHP date variables are permitted.
  56. |
  57. | This takes precedence over the date_format in system.php.
  58. |
  59. | https://www.php.net/manual/en/function.date.php
  60. |
  61. */
  62. 'date_format' => 'Y-m-d',
  63. /*
  64. |--------------------------------------------------------------------------
  65. | Pagination
  66. |--------------------------------------------------------------------------
  67. |
  68. | Here you may define the default pagination size as well as the options
  69. | the user can select on any paginated listing in the Control Panel.
  70. |
  71. */
  72. 'pagination_size' => 50,
  73. 'pagination_size_options' => [10, 25, 50, 100, 500],
  74. /*
  75. |--------------------------------------------------------------------------
  76. | Links to Documentation
  77. |--------------------------------------------------------------------------
  78. |
  79. | Show contextual links to documentation throughout the Control Panel.
  80. |
  81. */
  82. 'link_to_docs' => env('STATAMIC_LINK_TO_DOCS', true),
  83. /*
  84. |--------------------------------------------------------------------------
  85. | Support Link
  86. |--------------------------------------------------------------------------
  87. |
  88. | Set the location of the support link in the "Useful Links" header
  89. | dropdown. Use 'false' to remove it entirely.
  90. |
  91. */
  92. 'support_url' => env('STATAMIC_SUPPORT_URL', 'https://statamic.com/support'),
  93. /*
  94. |--------------------------------------------------------------------------
  95. | Theme
  96. |--------------------------------------------------------------------------
  97. |
  98. | Optionally spice up the login and other outside-the-control-panel
  99. | screens. You may choose between "rad" or "business" themes.
  100. |
  101. */
  102. 'theme' => env('STATAMIC_THEME', 'rad'),
  103. /*
  104. |--------------------------------------------------------------------------
  105. | White Labeling
  106. |--------------------------------------------------------------------------
  107. |
  108. | When in Pro Mode you may replace the Statamic name, logo, favicon,
  109. | and add your own CSS to the control panel to match your
  110. | company or client's brand.
  111. |
  112. */
  113. 'custom_cms_name' => env('STATAMIC_CUSTOM_CMS_NAME', 'Statamic'),
  114. 'custom_logo_url' => env('STATAMIC_CUSTOM_LOGO_URL', null),
  115. 'custom_dark_logo_url' => env('STATAMIC_CUSTOM_DARK_LOGO_URL', null),
  116. 'custom_logo_text' => env('STATAMIC_CUSTOM_LOGO_TEXT', null),
  117. 'custom_favicon_url' => env('STATAMIC_CUSTOM_FAVICON_URL', null),
  118. 'custom_css_url' => env('STATAMIC_CUSTOM_CSS_URL', null),
  119. /*
  120. |--------------------------------------------------------------------------
  121. | Thumbnails
  122. |--------------------------------------------------------------------------
  123. |
  124. | Here you may define additional CP asset thumbnail presets.
  125. |
  126. */
  127. 'thumbnail_presets' => [
  128. // 'medium' => 800,
  129. ],
  130. ];