main-local.php 438 B

12345678910111213141516
  1. <?php
  2. $config = [
  3. 'components' => [
  4. 'request' => [
  5. // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
  6. 'cookieValidationKey' => env('BACKEND_COOKIE_VALIDATION_KEY')
  7. ],
  8. 'urlManager' => [
  9. 'enablePrettyUrl' => env('backend_enable_pretty_url', true),
  10. 'showScriptName' => false,
  11. ],
  12. ],
  13. ];
  14. return $config;