12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061 |
- global.Config = {
- //Server Setting | 服务器基本信息设置
- Server:{
- Name:'',
- Host:'',
- Port:8080
- },
- //Session Setting | Session配置
- Session:{
- //Session Expire Time min.
- SessionExpire : 30,
- //No expire while surfing
- AutoRefresh:true,
- //Session store type && Support 'File' or 'Memcache'
- //If using memcache,Memcache setting must be modified
- StoreType:'File'
- },
- //Asset setting
- Asset:{
- //Asset path
- asset_path : 'asset',
- upload_path : 'asset/upload',
- },
- Database:{
- Mysql:{
- on:false,
- host:'localhost',
- port:3306,
- user:'root',
- password:'',
- database:'',
- prefix:'',
- connectionLimit:10
- },
- Mongodb:{
- on:false,
- host:'localhost',
- port:27017,
- user:null,
- password:'',
- database:'',
- prefix:''
- },
- Memcache:{
- on:true,
- host:'localhost',
- port:11211
- }
- },
-
- //If Debug on,log && info logs will output in console;except Error!
- debug:true,
- //if write file on,logs will write in log files
- write_log_file:false,
- write_error_file:true,
- };
|