【magento2.1源码分析】配置文件env.php

 
  array (
    'frontName' => 'admin_vfgg00',
  ),

  // 加密密钥
  'crypt' => 
  array (
    'key' => '0e7f972ff702813cc756652c34393dfb',
  ),

  // 缓存存储设置
  'session' => 
  array (
    'save' => 'files',
  ),

  // 数据库连接设置
  'db' => 
  array (
    'table_prefix' => '',
    'connection' => 
    array (
      'default' => 
      array (
        'host' => 'localhost',
        'dbname' => 'magento',
        'username' => 'root',
        'password' => 'root',
        'active' => '1',
      ),
    ),
  ),

  'resource' => 
  array (
    'default_setup' => 
    array (
      'connection' => 'default',
    ),
  ),

  // 表示该页面可以在相同域名页面的 frame 中展示
  'x-frame-options' => 'SAMEORIGIN',

  // 默认模式
  'MAGE_MODE' => 'default',

  // 启用的缓存类型
  'cache_types' => 
  array (
    'config' => 1,
    'layout' => 1,
    'block_html' => 1,
    'collections' => 1,
    'reflection' => 1,
    'db_ddl' => 1,
    'eav' => 1,
    'customer_notification' => 1,
    'full_page' => 1,
    'config_integration' => 1,
    'config_integration_api' => 1,
    'translate' => 1,
    'config_webservice' => 1,
  ),

  // 安装时间
  'install' => 
  array (
    'date' => 'Sun, 22 Jul 2018 04:19:45 +0000',
  ),
);

 

你可能感兴趣的:(magento2)