|
@@ -1,79 +0,0 @@
|
|
-<?php
|
|
|
|
-
|
|
|
|
-defined('InShopNC') or exit('Access Invalid!');
|
|
|
|
-
|
|
|
|
-//define('USE_REMOTE_IMAGE',true);
|
|
|
|
-define('DEBUG_MODE',true);
|
|
|
|
-$config = array();
|
|
|
|
-
|
|
|
|
-//const test_srv_host = 'http://121.43.114.153';
|
|
|
|
-$SRV_HOST = 'http://192.168.1.110';
|
|
|
|
-$REMOTE_IMG_HOST = 'http://p.lrlz.com';
|
|
|
|
-
|
|
|
|
-$config['base_site_url'] = $SRV_HOST;
|
|
|
|
-$config['shop_site_url'] = $SRV_HOST.'/shop';
|
|
|
|
-$config['cms_site_url'] = $SRV_HOST.'/cms';
|
|
|
|
-$config['microshop_site_url'] = $SRV_HOST.'/microshop';
|
|
|
|
-$config['circle_site_url'] = $SRV_HOST.'/circle';
|
|
|
|
-$config['admin_site_url'] = $SRV_HOST.'/admin';
|
|
|
|
-$config['mobile_site_url'] = $SRV_HOST.'/mobile';
|
|
|
|
-$config['wap_site_url'] = $SRV_HOST.'/wap';
|
|
|
|
-$config['chat_site_url'] = $SRV_HOST.'/chat';
|
|
|
|
-
|
|
|
|
-$config['node_site_url'] = 'http://127.0.0.1:8090';
|
|
|
|
-
|
|
|
|
-if(defined('USE_REMOTE_IMAGE') && USE_REMOTE_IMAGE == true) {
|
|
|
|
- $config['upload_site_url'] = $REMOTE_IMG_HOST.'/data/upload';
|
|
|
|
- $config['resource_site_url'] = $REMOTE_IMG_HOST.'/data/resource';
|
|
|
|
-} else {
|
|
|
|
- $config['upload_site_url'] = $SRV_HOST.'/data/upload';
|
|
|
|
- $config['resource_site_url'] = $SRV_HOST.'/data/resource';
|
|
|
|
-}
|
|
|
|
-
|
|
|
|
-$config['version'] = '201502020388';
|
|
|
|
-$config['setup_date'] = '2015-08-22 15:52:34';
|
|
|
|
-$config['gip'] = 0;
|
|
|
|
-$config['dbdriver'] = 'mysqli';
|
|
|
|
-$config['tablepre'] = 'lrlz_';
|
|
|
|
-$config['db']['1']['dbhost'] = '127.0.0.1';
|
|
|
|
-$config['db']['1']['dbport'] = '3306';
|
|
|
|
-$config['db']['1']['dbuser'] = 'root';
|
|
|
|
-$config['db']['1']['dbpwd'] = '55668899';
|
|
|
|
-$config['db']['1']['dbname'] = 'shopnc';
|
|
|
|
-$config['db']['1']['dbcharset'] = 'UTF-8';
|
|
|
|
-$config['db']['slave'] = $config['db']['master'];
|
|
|
|
-$config['session_expire'] = 3600;
|
|
|
|
-$config['lang_type'] = 'zh_cn';
|
|
|
|
-$config['cookie_pre'] = '6B0C_';
|
|
|
|
-$config['thumb']['cut_type'] = 'gd';
|
|
|
|
-$config['thumb']['impath'] = '';
|
|
|
|
-
|
|
|
|
-$config['cache']['type'] = 'redis';//'file';
|
|
|
|
-$config['redis']['prefix'] = 'nc_';
|
|
|
|
-$config['redis']['master']['port'] = 6379;
|
|
|
|
-$config['redis']['master']['host'] = '127.0.0.1';
|
|
|
|
-$config['redis']['master']['pconnect'] = 0;
|
|
|
|
-$config['redis']['slave'] = array();
|
|
|
|
-//$config['fullindexer']['open'] = false;
|
|
|
|
-//$config['fullindexer']['appname'] = '33hao';
|
|
|
|
-$config['debug'] = false;
|
|
|
|
-$config['default_store_id'] = '1';
|
|
|
|
-//如果开始伪静态,这里设置为true
|
|
|
|
-$config['url_model'] = false;
|
|
|
|
-//如果店铺开启二级域名绑定的,这里填写主域名如baidu.com
|
|
|
|
-$config['subdomain_suffix'] = '';
|
|
|
|
-$config['session_type'] = 'redis';
|
|
|
|
-$config['session_save_path'] = 'tcp://127.0.0.1:6379';
|
|
|
|
-$config['node_chat'] = true;
|
|
|
|
-//流量记录表数量,为1~10之间的数字,默认为3,数字设置完成后请不要轻易修改,否则可能造成流量统计功能数据错误
|
|
|
|
-$config['flowstat_tablenum'] = 3;
|
|
|
|
-$config['sms']['gwUrl'] = 'http://sdkhttp.eucp.b2m.cn/sdk/SDKService';
|
|
|
|
-$config['sms']['serialNumber'] = '';
|
|
|
|
-$config['sms']['password'] = '';
|
|
|
|
-$config['sms']['sessionKey'] = '';
|
|
|
|
-$config['queue']['open'] = false;
|
|
|
|
-$config['queue']['host'] = '127.0.0.1';
|
|
|
|
-$config['queue']['port'] = 6379;
|
|
|
|
-$config['cache_open'] = true;
|
|
|
|
-
|
|
|
|
-$config['delivery_site_url'] = $SRV_HOST.'/delivery';
|
|
|