base.ini.php 4.2 KB

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