default.php 401 B

1234567891011121314151617181920212223242526
  1. <?php
  2. # 数据库配置
  3. $config['database'] = array
  4. (
  5. # 默认数据库配置
  6. 'default' => array
  7. (
  8. 'type' => 'pdo',
  9. 'host' => array
  10. (
  11. 'read' => 'web-mysql:3306',
  12. 'update' => 'web-mysql:3306',
  13. ),
  14. 'database' => 'jiazhi',
  15. 'username' => 'root',
  16. 'password' => '123456',
  17. 'charset' => 'utf8',
  18. ),
  19. );
  20. $config['debug'] = array
  21. (
  22. 'log' => array('type' => 'file'),
  23. );
  24. return $config;