2018-01-19 17:48:40 +08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<config>
|
2018-01-23 15:02:42 +08:00
|
|
|
<!-- 模板引擎目录 -->
|
2018-01-19 17:48:40 +08:00
|
|
|
<viewpath>/home/www/templates/</viewpath>
|
2018-01-23 15:02:42 +08:00
|
|
|
<!-- MySQL数据库配置 -->
|
2018-01-19 17:48:40 +08:00
|
|
|
<database>
|
|
|
|
<default>
|
|
|
|
<host>127.0.0.1</host>
|
|
|
|
<port>3306</port>
|
|
|
|
<user>root</user>
|
|
|
|
<pass>123456</pass>
|
|
|
|
<name>test</name>
|
|
|
|
<role>master</role>
|
|
|
|
<type>mysql</type>
|
|
|
|
<charset>utf8</charset>
|
|
|
|
<priority>1</priority>
|
|
|
|
</default>
|
|
|
|
<default>
|
|
|
|
<host>127.0.0.1</host>
|
|
|
|
<port>3306</port>
|
|
|
|
<user>root</user>
|
|
|
|
<pass>123456</pass>
|
|
|
|
<name>test</name>
|
|
|
|
<role>master</role>
|
|
|
|
<type>mysql</type>
|
|
|
|
<charset>utf8</charset>
|
|
|
|
<priority>1</priority>
|
|
|
|
</default>
|
|
|
|
</database>
|
2018-04-18 18:05:46 +08:00
|
|
|
<!-- Redis数据库配置 -->
|
|
|
|
<redis>
|
|
|
|
<disk>127.0.0.1:6379,0</disk>
|
|
|
|
<cache>127.0.0.1:6379,1</cache>
|
|
|
|
</redis>
|
2018-01-19 17:48:40 +08:00
|
|
|
</config>
|