gf/geg/frame/mvc/config.json

33 lines
940 B
JSON
Raw Normal View History

{
"viewpath" : "/home/www/templates/",
2017-12-15 13:09:09 +08:00
"database" : {
"default" : [
2017-12-19 17:33:12 +08:00
{
"host" : "127.0.0.1",
"port" : "3306",
"user" : "root",
2017-12-20 12:05:36 +08:00
"pass" : "123456",
2017-12-19 17:33:12 +08:00
"name" : "test",
"type" : "mysql",
"role" : "master",
"charset" : "utf8",
"priority" : "1"
},
{
"host" : "127.0.0.1",
"port" : "3306",
"user" : "root",
2017-12-20 12:05:36 +08:00
"pass" : "123456",
2017-12-19 17:33:12 +08:00
"name" : "test",
"type" : "mysql",
"role" : "master",
"charset" : "utf8",
"priority" : "1"
}
]
2018-04-18 18:05:46 +08:00
},
"redis" : {
"disk" : "127.0.0.1:6379,0",
"cache" : "127.0.0.1:6379,1"
}
}