Переглянути джерело

Fixes #3542: Removed requirement to specify `extensions` in application config

Alexander Makarov 11 роки тому
батько
коміт
b946b9906d
2 змінених файлів з 0 додано та 2 видалено
  1. 0 1
      config/console.php
  2. 0 1
      config/web.php

+ 0 - 1
config/console.php

@@ -10,7 +10,6 @@ return [
     'basePath' => dirname(__DIR__),
     'bootstrap' => ['log'],
     'controllerNamespace' => 'app\commands',
-    'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
     'components' => [
         'cache' => [
             'class' => 'yii\caching\FileCache',

+ 0 - 1
config/web.php

@@ -6,7 +6,6 @@ $config = [
     'id' => 'basic',
     'basePath' => dirname(__DIR__),
     'bootstrap' => ['log'],
-    'extensions' => require(__DIR__ . '/../vendor/yiisoft/extensions.php'),
     'components' => [
         'cache' => [
             'class' => 'yii\caching\FileCache',