config.php 538 B

123456789101112131415161718192021222324252627
  1. <?php
  2. return [
  3. 'mysqlitedb' => DAS_PATH . '/../db/mysqlite.db',
  4. 'db' =>[
  5. 'host'=>'192.168.3.233',
  6. 'username'=>'root',
  7. 'passwd'=>'root001',
  8. 'dbname'=>'test',
  9. 'hostport'=>'3306',
  10. 'prefix'=>''
  11. ],
  12. 'route' =>[
  13. 'm'=>'index',
  14. 'c'=>'Index',
  15. 'a'=>'index'
  16. ],
  17. 'session' => [
  18. 'id' => '',
  19. // SESSION_ID的提交变量,解决flash上传跨域
  20. 'var_session_id' => '',
  21. // 是否自动开启 SESSION
  22. 'auto_start' => true,
  23. 'httponly' => true,
  24. 'secure' => false,
  25. ],
  26. ];