Commit d5ca44d2dc03fc55f259c40be92aa3f8e86b4662

Authored by Administrator
1 parent f020676c

Fixing issues

backend/config/main-local.php 0 → 100644
  1 +<?php
  2 +
  3 +$config = [
  4 + 'components' => [
  5 + 'request' => [
  6 + // !!! insert a secret key in the following (if it is empty) - this is required by cookie validation
  7 + 'cookieValidationKey' => 'F6f1zNftWODvpoKEftccK0nGjnlGGC_a',
  8 + ],
  9 + ]
  10 +];
  11 +
  12 +if (!YII_ENV_TEST) {
  13 + // configuration adjustments for 'dev' environment
  14 + $config['bootstrap'][] = 'debug';
  15 + $config['modules']['debug'] = [
  16 + 'class' => 'yii\debug\Module',
  17 + 'allowedIPs' => ['77.47.190.198', '::80']
  18 + ];
  19 +
  20 + $config['bootstrap'][] = 'gii';
  21 + $config['modules']['gii'] = 'yii\gii\Module';
  22 +}
  23 +
  24 +return $config;
... ...
backend/config/params-local.php 0 → 100644
  1 +<?php
  2 +return [
  3 +];
... ...