base.ini.php 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. <?php declare(strict_types=1);
  2. defined('InShopNC') or exit('Access Invalid!');
  3. define('USE_REMOTE_IMAGE',false);
  4. define('DEBUG_MODE',true);
  5. define('MOBILE_PUBLISH',false);
  6. define('PUSH_OMS',true);
  7. define('LOCAL_DEBUG',false);
  8. define('BONUS_EXPIRY_DATE',true);
  9. define('USE_BONUS_RATE',false);
  10. define('SERVER_TYPE','panda');
  11. define('COMPANY_NAME', 'LZKJ_COMPANY');
  12. define('ZERO_GOODS_ID', 8);
  13. $config = [];
  14. $config['base_site_url'] = SRV_HOST;
  15. $config['client_site_url'] = SRV_HOST;
  16. $config['shop_site_url'] = SRV_HOST.'/shop';
  17. $config['cms_site_url'] = SRV_HOST.'/cms';
  18. $config['microshop_site_url'] = SRV_HOST.'/microshop';
  19. $config['circle_site_url'] = SRV_HOST.'/circle';
  20. $config['admin_site_url'] = SRV_HOST.'/admin';
  21. $config['mobile_site_url'] = SRV_HOST.'/mobile';
  22. $config['wap_site_url'] = SRV_HOST.'/wap';
  23. $config['chat_site_url'] = SRV_HOST.'/chat';
  24. $config['node_site_url'] = 'http://127.0.0.1:8090';
  25. $config['delivery_site_url'] = SRV_HOST.'/delivery';
  26. $config['system_manager_phones'] = [
  27. '17335762432'
  28. ];
  29. if(defined('USE_REMOTE_IMAGE') && USE_REMOTE_IMAGE == true) {
  30. $config['upload_site_url'] = REMOTE_IMG_HOST.'/data/upload';
  31. $config['resource_site_url'] = REMOTE_IMG_HOST.'/data/resource';
  32. } else {
  33. $config['upload_site_url'] = SRV_HOST.'/data/upload';
  34. $config['resource_site_url'] = SRV_HOST.'/data/resource';
  35. }
  36. $config['version'] = '201502020388';
  37. $config['setup_date'] = '2015-08-22 15:52:34';
  38. $config['gip'] = 0;
  39. $config['dbdriver'] = 'mysqli';
  40. $config['tablepre'] = 'lrlz_';
  41. $config['db'][1]['dbhost'] = MASTER_DBHOST;
  42. $config['db'][1]['dbport'] = '3306';
  43. $config['db'][1]['dbuser'] = 'root';
  44. $config['db'][1]['dbpwd'] = 'Linzhuhmnbmhhah#2021';
  45. $config['db'][1]['dbname'] = 'xyzshop';
  46. $config['db'][1]['dbcharset'] = 'UTF-8';
  47. $config['db']['slave'][0]['dbhost'] = SLAVE_DBHOST;
  48. $config['db']['slave'][0]['dbport'] = '3306';
  49. $config['db']['slave'][0]['dbuser'] = 'root';
  50. $config['db']['slave'][0]['dbpwd'] = 'Linzhuhmnbmhhah#2021';
  51. $config['db']['slave'][0]['dbname'] = 'xyzshop';
  52. $config['db']['slave'][0]['dbcharset'] = 'UTF-8';
  53. $config['session_expire'] = 3600;
  54. $config['lang_type'] = 'zh_cn';
  55. $config['cookie_pre'] = '6B0C_';
  56. $config['thumb']['cut_type'] = 'gd';
  57. $config['thumb']['impath'] = '';
  58. $config['cache']['type'] = 'redis';
  59. $config['redis']['prefix'] = 'nc_';
  60. $config['redis']['master']['host'] = MASTER_REDISHOST;
  61. $config['redis']['master']['port'] = 6379;
  62. $config['redis']['master']['pconnect'] = 0;
  63. $config['redis']['slave']['host'] = SLAVE_REDISHOST;
  64. $config['redis']['slave']['port'] = 6379;
  65. $config['redis']['slave']['pconnect'] = 0;
  66. $config['coroutine']['redis_host'] = '172.16.110.28';
  67. $config['coroutine']['redis_port'] = 6379;
  68. //$config['fullindexer']['open'] = false;
  69. //$config['fullindexer']['appname'] = '33hao';
  70. $config['debug'] = false;
  71. $config['default_store_id'] = '1';
  72. //如果开始伪静态,这里设置为true
  73. $config['url_model'] = false;
  74. //如果店铺开启二级域名绑定的,这里填写主域名如baidu.com
  75. $config['subdomain_suffix'] = '';
  76. $config['session_type'] = 'redis';
  77. $config['session_save_path'] = SESSION_SAVE_PATH;
  78. $config['node_chat'] = true;
  79. //流量记录表数量,为1~10之间的数字,默认为3,数字设置完成后请不要轻易修改,否则可能造成流量统计功能数据错误
  80. $config['flowstat_tablenum'] = 3;
  81. $config['sms']['gwUrl'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService';
  82. $config['sms']['serialNumber'] = '';
  83. $config['sms']['password'] = '';
  84. $config['sms']['sessionKey'] = '';
  85. $config['queue']['open'] = true;
  86. $config['queue']['host'] = QUEUEHOST;
  87. $config['queue']['port'] = 6379;
  88. $config['cache_open'] = true;
  89. $config['return_address'] = ['address' => '上海市金山区朱吕公路7335号',
  90. 'name' => "大熊猫(丽帆供应链)",
  91. 'tel_phone' => '17301603655',
  92. 'zip_code' => '201600'];
  93. $config['area_version'] = 5;
  94. $config['appjump_prefix'] = 'xyzshop://www.xyzshops.com';
  95. $config['client_setting'] = ['running' => 174,'home' => 0];
  96. $config['wsd_bradge_port'] = 60987;
  97. $config['phone_life_check'] = false;