base.ini.php 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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('COOKIE_DOMAIN','xyzshops.cn');
  12. //$SRV_HOST = 'https://www.xyzshops.cn';
  13. define('COOKIE_DOMAIN','192.168.1.200');
  14. $SRV_HOST = 'http://192.168.1.200';
  15. $REMOTE_IMG_HOST = $SRV_HOST;
  16. $config = [];
  17. $config['base_site_url'] = $SRV_HOST;
  18. $config['client_site_url'] = $SRV_HOST;
  19. $config['shop_site_url'] = $SRV_HOST.'/shop';
  20. $config['cms_site_url'] = $SRV_HOST.'/cms';
  21. $config['microshop_site_url'] = $SRV_HOST.'/microshop';
  22. $config['circle_site_url'] = $SRV_HOST.'/circle';
  23. $config['admin_site_url'] = $SRV_HOST.'/admin';
  24. $config['mobile_site_url'] = $SRV_HOST.'/mobile';
  25. $config['wap_site_url'] = $SRV_HOST.'/wap';
  26. $config['chat_site_url'] = $SRV_HOST.'/chat';
  27. $config['node_site_url'] = 'http://127.0.0.1:8090';
  28. $config['delivery_site_url'] = $SRV_HOST.'/delivery';
  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'] = 'host.docker.internal';
  42. $config['db'][1]['dbport'] = '3306';
  43. $config['db'][1]['dbuser'] = 'root';
  44. $config['db'][1]['dbpwd'] = '55668899';
  45. $config['db'][1]['dbname'] = 'xyzshop';
  46. $config['db'][1]['dbcharset'] = 'UTF-8';
  47. $config['db']['slave'][0]['dbhost'] = 'host.docker.internal';
  48. $config['db']['slave'][0]['dbport'] = '3306';
  49. $config['db']['slave'][0]['dbuser'] = 'root';
  50. $config['db']['slave'][0]['dbpwd'] = '55668899';
  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'] = 'tcp://redisrv';
  61. $config['redis']['master']['port'] = 6379;
  62. $config['redis']['master']['pconnect'] = 0;
  63. $config['redis']['slave']['host'] = 'tcp://redisrv';
  64. $config['redis']['slave']['port'] = 6379;
  65. $config['redis']['slave']['pconnect'] = 0;
  66. //$config['fullindexer']['open'] = false;
  67. //$config['fullindexer']['appname'] = '33hao';
  68. $config['debug'] = false;
  69. $config['default_store_id'] = '1';
  70. //如果开始伪静态,这里设置为true
  71. $config['url_model'] = false;
  72. //如果店铺开启二级域名绑定的,这里填写主域名如baidu.com
  73. $config['subdomain_suffix'] = '';
  74. $config['session_type'] = 'redis';
  75. $config['session_save_path'] = 'tcp://redisrv:6379';
  76. $config['node_chat'] = true;
  77. //流量记录表数量,为1~10之间的数字,默认为3,数字设置完成后请不要轻易修改,否则可能造成流量统计功能数据错误
  78. $config['flowstat_tablenum'] = 3;
  79. $config['sms']['gwUrl'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService';
  80. $config['sms']['serialNumber'] = '';
  81. $config['sms']['password'] = '';
  82. $config['sms']['sessionKey'] = '';
  83. $config['queue']['open'] = true;
  84. $config['queue']['host'] = 'tcp://redisrv';
  85. $config['queue']['port'] = 6379;
  86. $config['cache_open'] = true;
  87. $config['return_address'] = ['address' => '上海市金山区朱吕公路7335号','name' => "大熊猫(丽帆供应链)",'tel_phone' => '17301603655','zip_code' => '201600'];
  88. $config['area_version'] = 5;
  89. $config['appjump_prefix'] = 'xyzshop://www.xyzshops.com';
  90. $config['client_setting'] = ['running' => 168,'home' => 0];