Advertisement
alpa_s

Untitled

Feb 1st, 2018
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. $config = [
  2. 'components' => [
  3. 'request' => [
  4. // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
  5. 'cookieValidationKey' => 'xzOYHipZJkSFBJtlRtXnjAFqVbC7y57u',
  6. ],
  7. ],
  8. ];
  9.  
  10. if (!YII_ENV_TEST) {
  11. // configuration adjustments for 'dev' environment
  12. $config['bootstrap'][] = 'debug';
  13. $config['modules']['debug'] = [
  14. 'class' => 'yii\debug\Module',
  15. ];
  16.  
  17. $config['bootstrap'][] = 'gii';
  18. $config['modules']['gii'] = [
  19. 'class' => 'yii\gii\Module',
  20. ];
  21. }
  22.  
  23. return $config;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement