From c511e35e4b638a6b580db1de232e96f4bff46288 Mon Sep 17 00:00:00 2001 From: ErickSkrauch Date: Tue, 4 Oct 2016 01:28:10 +0300 Subject: [PATCH] =?UTF-8?q?=D0=9A=D1=8D=D1=88=D0=B8=D1=80=D0=BE=D0=B2?= =?UTF-8?q?=D0=B0=D0=BD=D0=B8=D0=B5=20=D0=B4=D0=BB=D1=8F=20=D1=81=D1=85?= =?UTF-8?q?=D0=B5=D0=BC=D1=8B=20=D0=B2=20=D0=BF=D1=80=D0=BE=D0=B4=D0=B0?= =?UTF-8?q?=D0=BA=D1=88=D0=B5=D0=BD=20=D1=80=D0=B5=D0=B6=D0=B8=D0=BC=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/config/config-prod.php | 10 ++++++++++ console/config/config-dev.php | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 common/config/config-prod.php diff --git a/common/config/config-prod.php b/common/config/config-prod.php new file mode 100644 index 0000000..0160435 --- /dev/null +++ b/common/config/config-prod.php @@ -0,0 +1,10 @@ + [ + 'db' => [ + 'enableSchemaCache' => true, + 'schemaCacheDuration' => 3600, + 'schemaCache' => 'cache', + ], + ], +]; diff --git a/console/config/config-dev.php b/console/config/config-dev.php index 1d2118f..97192aa 100644 --- a/console/config/config-dev.php +++ b/console/config/config-dev.php @@ -2,6 +2,6 @@ return [ 'bootstrap' => ['gii'], 'modules' => [ - 'gii' => 'yii\gii\Module', + 'gii' => yii\gii\Module::class, ], ];