znt/test/config
2026-04-28 10:49:55 +03:00
..
cookie Стартовый commit: добавить ZenTao files 2026-04-28 10:49:55 +03:00
ext Стартовый commit: добавить ZenTao files 2026-04-28 10:49:55 +03:00
config.php Стартовый commit: добавить ZenTao files 2026-04-28 10:49:55 +03:00
README Стартовый commit: добавить ZenTao files 2026-04-28 10:49:55 +03:00

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

配置用于单元测试的数据库配置类似my.php
例子:
<?php
$config->installed       = true;
$config->debug           = 2;
$config->requestType     = 'GET';
$config->timezone        = 'Asia/Shanghai';
$config->db->driver      = 'mysql';
$config->db->host        = '127.0.0.1';
$config->db->port        = '3306';
$config->db->name        = 'zentao_unit';
$config->db->user        = 'root';
$config->db->encoding    = 'UTF8';
$config->db->password    = '123456';
$config->db->prefix      = 'zt_';
$config->webRoot         = getWebRoot();
$config->default->lang   = 'zh-cn';
$config->codeCoverage    = false;