Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

22 rindas
546B

  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' => '97ab1b4e420025edccf116eafc92ffd6',
  7. ],
  8. ],
  9. ];
  10. if (!YII_ENV_TEST) {
  11. // configuration adjustments for 'dev' environment
  12. $config['bootstrap'][] = 'debug';
  13. $config['modules']['debug'] = 'yii\debug\Module';
  14. $config['bootstrap'][] = 'gii';
  15. $config['modules']['gii'] = 'yii\gii\Module';
  16. }
  17. return $config;