|
@@ -1,17 +1,21 @@
|
|
|
<?php
|
|
|
|
|
|
defined('InShopNC') or exit('Access Invalid!');
|
|
|
+
|
|
|
+define('USE_REMOTE_IMAGE',true);
|
|
|
+
|
|
|
$config = array();
|
|
|
|
|
|
const test_srv_host = 'http://121.43.114.153';
|
|
|
const stanley_home = 'http://192.168.1.2';
|
|
|
-const stanley_host = 'http://192.168.1.132';
|
|
|
+const DY_HOST = 'http://192.168.1.135';
|
|
|
|
|
|
const boss_host = 'http://172.40.2.14';
|
|
|
const jeff_office = 'http://192.168.1.128';
|
|
|
const liax_office = 'http://192.168.1.136';
|
|
|
|
|
|
-$SRV_HOST = jeff_office;
|
|
|
+$SRV_HOST = DY_HOST;
|
|
|
+$REMOTE_IMG_HOST = 'http://p.lrlz.com';
|
|
|
|
|
|
$config['base_site_url'] = $SRV_HOST;
|
|
|
$config['shop_site_url'] = $SRV_HOST.'/shop';
|
|
@@ -24,8 +28,16 @@ $config['wap_site_url'] = $SRV_HOST.'/wap';
|
|
|
$config['chat_site_url'] = $SRV_HOST.'/chat';
|
|
|
|
|
|
$config['node_site_url'] = 'http://127.0.0.1:8090';
|
|
|
-$config['upload_site_url'] = $SRV_HOST.'/data/upload';
|
|
|
-$config['resource_site_url'] = $SRV_HOST.'/data/resource';
|
|
|
+
|
|
|
+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;
|
|
@@ -35,7 +47,7 @@ $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'] = 'shop';
|
|
|
+$config['db']['1']['dbname'] = 'shopnc';
|
|
|
$config['db']['1']['dbcharset'] = 'UTF-8';
|
|
|
$config['db']['slave'] = $config['db']['master'];
|
|
|
$config['session_expire'] = 3600;
|