You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
information-system/application/config/config.php

1119 lines
48 KiB
PHTML

<?php // 代码各服务器已经同步 2016.06.01 ycc
?>
<?php
if (!defined('BASEPATH'))
exit('No direct script access allowed');
/*
|--------------------------------------------------------------------------
| Base Site URL
|--------------------------------------------------------------------------
|
| URL to your CodeIgniter root. Typically this will be your base URL,
| WITH a trailing slash:
|
| http://example.com/
|
| If this is not set then CodeIgniter will guess the protocol, domain and
| path to your installation.
|
*/
//CDN分发之后源站和前端域名不一致在这里修正否则程序生成的链接是源站的域名
$base_url = '';
switch ($_SERVER['SERVER_NAME']) {
case 'origin-ct.mycht.cn':
$base_url = 'https://ct.mycht.cn';
break;
case 'origin-gm.mycht.cn':
$base_url = 'https://gm.mycht.cn';
break;
case 'origin-cht.mycht.cn':
$base_url = 'https://cht.mycht.cn';
break;
case 'origin-int.mycht.cn':
$base_url = 'https://int.mycht.cn';
break;
5 years ago
case 'origin-gh.mycht.cn':
$base_url = 'https://gh.mycht.cn';
break;
default:
$base_url = '';
}
$config['base_url'] = $base_url;
/*
|--------------------------------------------------------------------------
| Index File
|--------------------------------------------------------------------------
|
| Typically this will be your index.php file, unless you've renamed it to
| something else. If you are using mod_rewrite to remove the page set this
| variable so that it is blank.
|
*/
$config['index_page'] = 'info.php';
/*
|--------------------------------------------------------------------------
| URI PROTOCOL
|--------------------------------------------------------------------------
|
| This item determines which server global should be used to retrieve the
| URI string. The default setting of 'AUTO' works for most servers.
| If your links do not seem to work, try one of the other delicious flavors:
|
| 'AUTO' Default - auto detects
| 'PATH_INFO' Uses the PATH_INFO
| 'QUERY_STRING' Uses the QUERY_STRING
| 'REQUEST_URI' Uses the REQUEST_URI
| 'ORIG_PATH_INFO' Uses the ORIG_PATH_INFO
|
*/
$config['uri_protocol'] = 'PATH_INFO';
/*
|--------------------------------------------------------------------------
| URL suffix
|--------------------------------------------------------------------------
|
| This option allows you to add a suffix to all URLs generated by CodeIgniter.
| For more information please see the user guide:
|
| http://codeigniter.com/user_guide/general/urls.html
*/
$config['url_suffix'] = '';
/*
|--------------------------------------------------------------------------
| Default Language
|--------------------------------------------------------------------------
|
| This determines which set of language files should be used. Make sure
| there is an available translation if you intend to use something other
| than english.
|
*/
$config['language'] = 'english';
/*
|--------------------------------------------------------------------------
| Default Character Set
|--------------------------------------------------------------------------
|
| This determines which character set is used by default in various methods
| that require a character set to be provided.
|
*/
$config['charset'] = 'UTF-8';
/*
|--------------------------------------------------------------------------
| Enable/Disable System Hooks
|--------------------------------------------------------------------------
|
| If you would like to use the 'hooks' feature you must enable it by
| setting this variable to TRUE (boolean). See the user guide for details.
|
*/
$config['enable_hooks'] = FALSE;
/*
|--------------------------------------------------------------------------
| Class Extension Prefix
|--------------------------------------------------------------------------
|
| This item allows you to set the filename/classname prefix when extending
| native libraries. For more information please see the user guide:
|
| http://codeigniter.com/user_guide/general/core_classes.html
| http://codeigniter.com/user_guide/general/creating_libraries.html
|
*/
$config['subclass_prefix'] = 'MY_';
/*
|--------------------------------------------------------------------------
| Allowed URL Characters
|--------------------------------------------------------------------------
|
| This lets you specify with a regular expression which characters are permitted
| within your URLs. When someone tries to submit a URL with disallowed
| characters they will get a warning message.
|
| As a security measure you are STRONGLY encouraged to restrict URLs to
| as few characters as possible. By default only these are allowed: a-z 0-9~%.:_-
|
| Leave blank to allow all characters -- but only if you are insane.
|
| DO NOT CHANGE THIS UNLESS YOU FULLY UNDERSTAND THE REPERCUSSIONS!!
|
*/
$config['permitted_uri_chars'] = 'a-z 0-9~%.:_-';
/*
|--------------------------------------------------------------------------
| Enable Query Strings
|--------------------------------------------------------------------------
|
| By default CodeIgniter uses search-engine friendly segment based URLs:
| example.com/who/what/where/
|
| By default CodeIgniter enables access to the $_GET array. If for some
| reason you would like to disable it, set 'allow_get_array' to FALSE.
|
| You can optionally enable standard query string based URLs:
| example.com?who=me&what=something&where=here
|
| Options are: TRUE or FALSE (boolean)
|
| The other items let you set the query string 'words' that will
| invoke your controllers and its functions:
| example.com/index.php?c=controller&m=function
|
| Please note that some of the helpers won't work as expected when
| this feature is enabled, since CodeIgniter is designed primarily to
| use segment based URLs.
|
*/
$config['allow_get_array'] = TRUE;
$config['enable_query_strings'] = FALSE;
$config['controller_trigger'] = 'c';
$config['function_trigger'] = 'm';
$config['directory_trigger'] = 'd'; // experimental not currently in use
/*
|--------------------------------------------------------------------------
| Error Logging Threshold
|--------------------------------------------------------------------------
|
| If you have enabled error logging, you can set an error threshold to
| determine what gets logged. Threshold options are:
| You can enable error logging by setting a threshold over zero. The
| threshold determines what gets logged. Threshold options are:
|
| 0 = Disables logging, Error logging TURNED OFF
| 1 = Error Messages (including PHP errors)
| 2 = Debug Messages
| 3 = Informational Messages
| 4 = All Messages
|
| For a live site you'll usually only enable Errors (1) to be logged otherwise
| your log files will fill up very fast.
|
*/
$config['log_threshold'] = 1;
/*
|--------------------------------------------------------------------------
| Error Logging Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| application/logs/ folder. Use a full server path with trailing slash.
|
*/
$config['log_path'] = '';
/*
|--------------------------------------------------------------------------
| Date Format for Logs
|--------------------------------------------------------------------------
|
| Each item that is logged has an associated date. You can use PHP date
| codes to set your own date formatting
|
*/
$config['log_date_format'] = 'Y-m-d H:i:s';
/*
|--------------------------------------------------------------------------
| Cache Directory Path
|--------------------------------------------------------------------------
|
| Leave this BLANK unless you would like to set something other than the default
| system/cache/ folder. Use a full server path with trailing slash.
|
*/
$config['cache_path'] = '';
/*
|--------------------------------------------------------------------------
| Encryption Key
|--------------------------------------------------------------------------
|
| If you use the Encryption class or the Session class you
| MUST set an encryption key. See the user guide for info.
|
*/
$config['encryption_key'] = 'pliy3rgYcV9lXeKWaO6P';
/*
|--------------------------------------------------------------------------
| Session Variables
|--------------------------------------------------------------------------
|
| 'sess_cookie_name' = the name you want for the cookie
| 'sess_expiration' = the number of SECONDS you want the session to last.
| by default sessions last 7200 seconds (two hours). Set to zero for no expiration.
| 'sess_expire_on_close' = Whether to cause the session to expire automatically
| when the browser window is closed
| 'sess_encrypt_cookie' = Whether to encrypt the cookie
| 'sess_use_database' = Whether to save the session data to a database
| 'sess_table_name' = The name of the session database table
| 'sess_match_ip' = Whether to match the user's IP address when reading the session data
| 'sess_match_useragent' = Whether to match the User Agent when reading the session data
| 'sess_time_to_update' = how many seconds between CI refreshing Session Information
|
*/
$config['sess_cookie_name'] = 'ci_session';
$config['sess_expiration'] = 0;
$config['sess_expire_on_close'] = FALSE;
$config['sess_encrypt_cookie'] = TRUE;
$config['sess_use_database'] = FALSE;
$config['sess_table_name'] = 'ci_sessions';
$config['sess_match_ip'] = FALSE;
8 years ago
$config['sess_match_useragent'] = FALSE;
$config['sess_time_to_update'] = 300;
/*
|--------------------------------------------------------------------------
| Cookie Related Variables
|--------------------------------------------------------------------------
|
| 'cookie_prefix' = Set a prefix if you need to avoid collisions
| 'cookie_domain' = Set to .your-domain.com for site-wide cookies
| 'cookie_path' = Typically will be a forward slash
| 'cookie_secure' = Cookies will only be set if a secure HTTPS connection exists.
|
*/
$config['cookie_prefix'] = "";
$config['cookie_domain'] = "";
$config['cookie_path'] = "/";
$config['cookie_secure'] = FALSE;
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
*/
$config['global_xss_filtering'] = FALSE;
/*
|--------------------------------------------------------------------------
| Cross Site Request Forgery
|--------------------------------------------------------------------------
| Enables a CSRF cookie token to be set. When set to TRUE, token will be
| checked on a submitted form. If you are accepting user data, it is strongly
| recommended CSRF protection be enabled.
|
| 'csrf_token_name' = The token name
| 'csrf_cookie_name' = The cookie name
| 'csrf_expire' = The number in seconds the token should expire.
*/
$config['csrf_protection'] = FALSE;
$config['csrf_token_name'] = 'csrf_test_name';
$config['csrf_cookie_name'] = 'csrf_cookie_name';
$config['csrf_expire'] = 7200;
/*
|--------------------------------------------------------------------------
| Output Compression
|--------------------------------------------------------------------------
|
| Enables Gzip output compression for faster page loads. When enabled,
| the output class will test whether your server supports Gzip.
| Even if it does, however, not all browsers support compression
| so enable only if you are reasonably sure your visitors can handle it.
|
| VERY IMPORTANT: If you are getting a blank page when compression is enabled it
| means you are prematurely outputting something to your browser. It could
| even be a line of whitespace at the end of one of your scripts. For
| compression to work, nothing can be sent before the output buffer is called
| by the output class. Do not 'echo' any values with compression enabled.
|
*/
$config['compress_output'] = FALSE;
/*
|--------------------------------------------------------------------------
| Master Time Reference
|--------------------------------------------------------------------------
|
| Options are 'local' or 'gmt'. This pref tells the system whether to use
| your server's local time as the master 'now' reference, or convert it to
| GMT. See the 'date helper' page of the user guide for information
| regarding date handling.
|
*/
$config['time_reference'] = 'local';
/*
|--------------------------------------------------------------------------
| Rewrite PHP Short Tags
|--------------------------------------------------------------------------
|
| If your PHP installation does not have short tag support enabled CI
| can rewrite the tags on-the-fly, enabling you to utilize that syntax
| in your view files. Options are TRUE or FALSE (boolean)
|
*/
$config['rewrite_short_tags'] = FALSE;
/*
|--------------------------------------------------------------------------
| Reverse Proxy IPs
|--------------------------------------------------------------------------
|
| If your server is behind a reverse proxy, you must whitelist the proxy IP
| addresses from which CodeIgniter should trust the HTTP_X_FORWARDED_FOR
| header in order to properly identify the visitor's IP address.
| Comma-delimited, e.g. '10.0.1.200,10.0.1.201'
|
*/
$config['proxy_ips'] = '';
//各站信息组和人员权限分配
$config['site'] = array(
'cht' => array('site_code' => 'cht', 'site_id' => 14, 'site_lgc' => '1', 'site_url' => 'https://www.chinahighlights.com', 'site_image_url' => '//images.chinahighlights.com', 'site_authors' => array('zzy', 'spt', 'yl', 'gavin', 'sw', 'zl', 'wbl', 'yqw', 'lf', 'zhm', 'pkl'), 'site_user' => ',ycc,lmr, zyh,J,shw,B,zzy,WJJ,Tony,pcf,zxy,wst,wz,v,S,yyg,yxd,wj,sw,yl,hx,spt,wmr,zl,syt,gavin,zm,htc,yqw,bhn,lmj,wbl,yqw,LYY,zhm,si'),
'ch' => array('site_code' => 'ch', 'site_id' => 14, 'site_lgc' => '1', 'site_url' => 'https://www.chinahighlights.com', 'site_image_url' => 'https://images.chinahighlights.com', 'site_authors' => array('TDJ', 'ycc'), 'site_user' => ',ycc,'),
'gm' => array('site_code' => 'gm', 'site_id' => 22, 'site_lgc' => '4', 'site_url' => 'https://www.chinarundreisen.com', 'site_image_url' => '//bilder.chinarundreisen.com', 'site_authors' => array('DX', 'X', 'K', 'Lan', 'lmr', 'zyh', 'ZYHL', 'TDJ'), 'site_user' => ',ycc,lmr,B,zyh,DX,X,K,htc,zm,bhn,Lan,Tony,zyh,J,v,ZYHL,TDJ,LYY,shw,'),
8 years ago
'vc' => array('site_code' => 'vc', 'site_id' => 30, 'site_lgc' => '5', 'site_url' => 'https://www.voyageschine.com', 'site_image_url' => '//images.voyageschine.com', 'site_authors' => array('JE', 'kq', 'lya', 'lyz', 'zyh'), 'site_user' => ',ycc,lmr, zyh,JE,htc,kq,lya,bhn,Tony,zyh,B,J,lyz,LYY,'),
8 years ago
'jp' => array('site_code' => 'jp', 'site_id' => 88, 'site_lgc' => '3', 'site_url' => 'https://www.arachina.com', 'site_image_url' => '//images.arachina.com', 'site_authors' => array('hql', 'LLM', 'SHX', 'lmr', 'zyh', 'zb'), 'site_user' => ',ycc,lmr, zyh,hql,LLM,SHX,htc,zpl,Tony,zyh,J,B,zb,LYY,'),
'vac' => array('site_code' => 'vac', 'site_id' => 95, 'site_lgc' => '6', 'site_url' => 'https://www.viaje-a-china.com', 'site_image_url' => '//imagenes.viaje-a-china.com', 'site_authors' => array('I', 'cyt', 'lmr', 'zyh', 'LLM'), 'site_user' => ',ycc,lmr, zyh,I,cyt,htc,bhn,Tony,zyh,B,J,LLM,LYY,'),
'it' => array('site_code' => 'it', 'site_id' => 168, 'site_lgc' => '8', 'site_url' => 'https://www.viaggio-in-cina.it', 'site_image_url' => '//images.viaggio-in-cina.it', 'site_authors' => array('LZY', 'ZQQ', 'lmr', 'zyh'), 'site_user' => ',ycc,lmr, zyh,LZY,htc,ZQQ,Tony,zyh,B,J,LYY,'),
8 years ago
'ru' => array('site_code' => 'ru', 'site_id' => 102, 'site_lgc' => '7', 'site_url' => 'https://www.chinahighlights.ru', 'site_image_url' => '//images.chinahighlights.ru', 'site_authors' => array('xjj', 'zyy'), 'site_user' => ',ycc,lmr, zyh,xjj,htc,DX,zyy,bhn,Tony,zyh,B,J,LYY,'),
'wt' => array('site_code' => 'wt', 'site_id' => 172, 'site_lgc' => '2', 'site_url' => 'https://www.iiiyooo.com', 'site_image_url' => '', 'site_authors' => array('ylh', 'lfj', 'wx', 'lzh', 'shw', 'lx'), 'site_user' => ',ycc,lmr, zyh,ylh,lfj,wx,lzh,shw,lx,bhn,B,J,'),
'tbt' => array('site_code' => 'tbt', 'site_id' => 169, 'site_lgc' => '1', 'site_url' => 'https://www.tibettravel.info', 'site_image_url' => '/images', 'site_authors' => array('wj', 'sfx'), 'site_user' => ',ycc,wj,bhn,wx,lzh,lfj,hwt,thf,sfx,J,ZP,'),
'sht' => array('site_code' => 'sht', 'site_id' => 96, 'site_lgc' => '1', 'site_url' => 'https://www.shanghaihighlights.com', 'site_image_url' => '//images.shanghaihighlights.com', 'site_authors' => array('vz', 'sfx'), 'site_user' => ',ycc,wj,bhn,wx,lzh,lfj,hwt,thf,vz,sfx,J,ZP,LYY,'),
'yz' => array('site_code' => 'yz', 'site_id' => 89, 'site_lgc' => '1', 'site_url' => 'https://www.yangtzeriver.org', 'site_image_url' => '//images.yangtzeriver.org', 'site_authors' => array('wj', 'vi', 'sfx'), 'site_user' => ',ycc,wj,bhn,hwt,thf,vi,sfx,J,ZP,lyy,'),
'gl' => array('site_code' => 'gl', 'site_id' => 90, 'site_lgc' => '1', 'site_url' => 'https://www.guilinchina.net', 'site_image_url' => '//images.guilinchina.net', 'site_authors' => array('vi', 'sfx'), 'site_user' => ',ycc,vi,bhn,hwt,thf,sfx,J,ZP,lyy,'),
'mbj' => array('site_code' => 'mbj', 'site_id' => 98, 'site_lgc' => '1', 'site_url' => 'https://www.mybeijingchina.com', 'site_image_url' => '//images.mybeijingchina.com', 'site_authors' => array('vz', 'sfx'), 'site_user' => ',ycc,vz,bhn,hwt,thf,sfx,J,ZP,'),
'ct' => array('site_code' => 'ct', 'site_id' => 1000, 'site_lgc' => '104', 'site_url' => 'https://www.chinatravel.com', 'site_image_url' => '//images.chinatravel.com', 'site_authors' => array('ll', 'D'), 'site_user' => ',ycc,vz,bhn,J,wj,ll,D,ZP,lyy,'),
'dct' => array('site_code' => 'dct', 'site_id' => 99, 'site_lgc' => '1', 'site_url' => 'https://www.diychinatours.com', 'site_image_url' => '//images.chinahighlights.com', 'site_authors' => array('zzy', 'spt', 'yl', 'gavin'), 'site_user' => ',ycc,lmr, zyh,J,shw,B,zzy,WJJ,Tony,pcf,zxy,wst,wz,S,yyg,yxd,wj,sw,yl,hx,spt,wmr,syt,gavin,zm,htc,yqw,zl,sw,J,qqs,MGZ,'),
'cits' => array('site_code' => 'cits', 'site_id' => 10086, 'site_lgc' => '2', 'site_image_url' => '', 'site_url' => 'https://www.guilincits.com'),
'mct' => array('site_code' => 'mct', 'site_id' => 6, 'site_lgc' => '101', 'site_image_url' => '', 'site_url' => 'https://www.mychinatours.com', 'site_authors' => array('cj')),
'diy' => array('site_code' => 'diy', 'site_id' => 99, 'site_lgc' => '1', 'sitemap_name' => 'E:/Dropbox/wwwroot/diychinatours.com/information.sitemap.xml', 'site_image_url' => '//images.diychinatours.com', 'site_url' => 'http://www.diychinatours.com', 'site_sitemap' => 'E:/Dropbox/wwwroot/diychinatours.com/information.sitemap.xml', 'site_authors' => array('ycc,lyy')),
'ah' => array('site_code' => 'ah', 'site_id' => 141, 'site_lgc' => '1', 'sitemap_name' => '', 'site_image_url' => '//images.asiahighlights.com', 'site_url' => 'https://www.asiahighlights.com', 'site_sitemap' => '', 'site_authors' => array('X', 'sfx'), 'site_user' => array(',ycc,sfx,X,')),
'gh' => array('site_code' => 'gh', 'site_id' => 163, 'site_lgc' => '1', 'sitemap_name' => '', 'site_image_url' => '//images.globalhighlights.com', 'site_url' => 'https://www.globalhighlights.com', 'site_sitemap' => '', 'site_authors' => array('X', 'sfx'), 'site_user' => array(',ycc,sfx,X,')),
'pgr' => array('site_code' => 'pgr', 'site_id' => 148, 'site_lgc' => '2', 'sitemap_name' => '', 'site_image_url' => '', 'site_url' => 'https://www.peregrine.cn', 'site_sitemap' => '', 'site_authors' => array('X', 'sfx'), 'site_user' => array(',ycc,sfx,X,')),
'ts' => array('site_code' => 'ts', 'site_id' => 149, 'site_lgc' => '1', 'sitemap_name' => '', 'site_image_url' => '', 'site_url' => 'https://www.trainspread.com', 'site_sitemap' => '', 'site_authors' => array('X', 'sfx'), 'site_user' => array(',ycc,sfx,X,')),
'bht' => array('site_code' => 'bht', 'site_id' => 6565, 'site_lgc' => '1', 'site_image_url' => '', 'site_url' => 'https://www.beijinghighlights.com', 'site_authors' => array('cj')),
'trippest' => array('site_code' => 'trippest', 'site_id' => 145, 'site_lgc' => '1', 'site_image_url' => '', 'site_url' => 'https://www.trippest.com', 'site_authors' => array('cj'), 'site_user' => array(',ycc,zp,'))
);
//静态文件生成路径
$config['cache']['jp']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\arachina.com';
$config['cache']['gm']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\chinarundreisen.com';
$config['cache']['vc']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\voyageschine.com';
$config['cache']['vac']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\viaje-a-china.com';
$config['cache']['ru']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\chinahighlights.ru';
$config['cache']['it']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\viaggio-in-cina.it';
//静态文件更新接口
$config['cache']['jp']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['gm']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['vc']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['vac']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['ru']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['it']['cache_api'] = '/info.php/information/update_cache/';
//静态文件更新接口参数
$config['cache']['jp']['cache_api_para'] = 'cache_url';
$config['cache']['gm']['cache_api_para'] = 'cache_url';
$config['cache']['vc']['cache_api_para'] = 'cache_url';
$config['cache']['vac']['cache_api_para'] = 'cache_url';
$config['cache']['ru']['cache_api_para'] = 'cache_url';
$config['cache']['it']['cache_api_para'] = 'cache_url';
//本地测试用 - lmr
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.62:9999') {
$config['site']['jp']['site_url'] = 'http://202.103.68.62:9093';
$config['site']['gm']['site_url'] = 'http://202.103.68.62:9094';
$config['site']['vc']['site_url'] = 'http://202.103.68.62:9095';
$config['site']['vac']['site_url'] = 'http://202.103.68.62:9096';
$config['site']['ru']['site_url'] = 'http://202.103.68.62:9097';
$config['site']['it']['site_url'] = 'http://202.103.68.62:9098';
}
//本地测试用 - lyy
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.34:9999' || $_SERVER['HTTP_HOST'] == 'localhost:9999') {
$config['site']['sht']['site_url'] = 'http://202.103.68.34:8880';
$config['site']['gl']['site_url'] = 'http://202.103.68.34:8881';
$config['site']['diy']['site_url'] = 'http://202.103.68.34:9091';
}
//德语网站信息平台-TDY
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '144.76.185.44:8576') {
$config['cache']['gm']['cache_path'] = 'C:\inetpub\wwwroot\gmsite\static';
}
//country控制器用到了
//信息类型
$config['InfoType_country'] = array(
'不设置' => 'none',
'首页' => 'root',
'基本数据' => 'n_facts',
'国家艺术' => 'n_arts',
'国家文化' => 'n_culture',
'国家概述' => 'n_overview',
'国家图片' => 'n_photos',
'国家景点' => 'n_attraction',
'国家旅游' => 'n_travel',
'国家交通' => 'n_transport',
'国家天气' => 'n_weather',
'国家节庆' => 'n_festival',
'国家美食' => 'n_food',
'国家历史' => 'n_history',
'国家地图' => 'n_map',
'民族传统和文化遗产' => 'n_national',
'产品附加信息' => 'product',
'旅游工具箱' => 'n_tools'
);
//province控制器用到了
$config['InfoType_province'] = array(
'不设置' => 'none',
'首页' => 'root',
'基本数据' => 'p_facts',
'地图' => 'p_map',
'地图详细' => 'p_map_detail',
'交通' => 'p_transport',
'节庆' => 'p_festival',
'天气' => 'p_weather',
'旅游建议' => 'p_tips',
'热门旅游城市' => 'p_popular_city',
'产品附加信息' => 'product'
);
//city控制器用到了
$config['InfoType_city'] = array(
'不设置' => 'none',
'首页' => 'root',
'简介' => 'c_overview',
'关于' => 'c_about',
'食物' => 'c_food',
'食物详细' => 'c_food_detail',
'餐饮' => 'c_restaurant',
'餐饮详细' => 'c_restaurant_detail',
'历史' => 'c_history',
'基本数据' => 'c_facts',
'旅游' => 'c_travel',
'交通' => 'c_transport',
'地图' => 'c_map',
'地图详细' => 'c_map_detail',
'天气' => 'c_weather',
'天气详细' => 'c_weather_detail',
'购物' => 'c_shopping',
'夜生活' => 'c_nightlife',
'旅游建议' => 'c_tips',
'值得做的' => 'c_todo',
'景点概述' => 'c_attraction',
'景点详细' => 'c_attraction_detail',
'推荐做的' => 'c_toptodo',
'儿童旅游' => 'c_kids',
'推荐理由' => 'c_reason',
'城市article' => 'c_article',
'城市机票' => 'c_city_flights',
'产品附加信息' => 'product',
'article-Place to Go' => 'a_placetogo',
'article-Things to Do' => 'a_thingstodo',
'article-Seasonal' => 'a_seasonal',
'article-Food' => 'a_food',
'article-Culture' => 'a_culture',
'article-Travel Tips' => 'a_traveltips',
'article-Tour Planning' => 'a_tourplanning',
'layout' => 'layout',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
);
//special控制器用到了
$config['InfoType_special'] = array(
'不设置' => 'none',
'首页' => 'root',
'长江' => 't_yangtze_river',
'长城' => 't_greatwall',
'黄河' => 't_yellow_river',
'丝路' => 't_silkroad',
'茶马古道' => 't_tea_horse_road',
'穆斯林' => 't_muslims_in_china',
'自行车游' => 't_china_biking',
'徒步' => 't_china_hiking',
'青藏铁路' => 't_qinghai_tibet_railway',
'水乡' => 't_water_town',
'Top专题' => 't_best_china',
'Spotlight文章' => 't_spotlight',
'专题首页推介' => 't_topic_promotion',
'产品附加信息' => 'product'
);
//special控制器用到了
$config['InfoType_video'] = array(
'不设置' => 'none'
);
//节庆
$config['InfoType_festival'] = array(
'不设置' => 'none',
'民族节庆' => 'f_national',
'传统节庆' => 'f_tradition',
'旅游节庆' => 'f_travel'
);
//公民游
$config['InfoType_citizen'] = array(
'不设置' => 'none',
'大洲' => 'w_continent',
'国家' => 'w_country',
'城市' => 'w_city',
'签证信息' => 'w_visa',
'景点目录' => 'w_attraction',
'景点详细' => 'w_attraction_detail',
'地图目录' => 'w_map',
'地图详细' => 'w_map_detail',
'产品' => 'product'
);
//可选模板
$config['templates_i'] = array(
'[城市]C通用模板' => 'guide_info_detail',
'[城市]C列表模板' => 'city_info_list',
'[城市]C首页模板' => 'city_info_index',
'[城市]C景点列表模板' => 'city_info_attractions_list',
'[城市]C景点详细模板' => 'city_attractions',
'[专题]右侧广告导航模板' => 'r_right_ad',
7 years ago
'[专题]T0空白' => 'r_tpl_empty',
7 years ago
'[专题]T0空白HTML构建工具' => 'r_empty_container',
'[专题]T0空白H1+面包屑)' => 'r_empty2',
'----------二级目录----------' => '------2------',
'[专题]T2首页' => 'r_t2_index',
'[专题]T2详细' => 'r_t2_detail',
'----------三级目录----------' => '------3------',
'[专题]T3首页' => 'r_tpl_empty_navi0', //=r_t3_index
'[专题]T3列表' => 'r_tpl_empty_navi1', //=r_t3_list
'[专题]T3列表+' => 'r_tpl_empty_navi1p', //=r_t3_list+
'[专题]T3详细' => 'r_tpl_empty_navi2', //=r_t3_detail
'----------四级目录----------' => '------4------',
'[专题]T4首页' => 'r_t4_index',
'[专题]T4列表1' => 'r_t4_list1',
'[专题]T4列表2' => 'r_t4_list2',
'[专题]T4详细' => 'r_t4_detail',
'--------------------------------' => '--------------------------------',
'[废弃]D空白模板' => 'tpl_empty',
'[废弃]D专题-温暖' => 'warm',
'[废弃]D专题-庄重' => 'solemn',
'[废弃]D专题-节庆' => 'festival',
'[废弃]D专题-促销' => 'promotion_tour'
);
//翰特产品类型,Information控制器的get_products函数有直接调用在这里增加了信息需要去控制器写相关操作代码
$config['ProductType_HT'] = array(
'景点' => 't'
);
//区域类型对应字母
$config['area_type'] = array(
'机场' => 'a',
'城市' => 'c',
'大洲' => 'e',
'节庆' => 'f',
'团购' => 'g',
'航空公司' => 'l',
'国家' => 'n',
'省份' => 'p',
'火车站信息' => 'r',
'新闻' => 's',
'专题' => 't',
'视频' => 'v',
'大使馆' => 'y',
'公民游' => 'z',
'交换链接' => 'k',
'首页' => 'h',
'FAQ' => 'q'
);
$config['auhtor_task_type'] = array(
'翻译' => 'translate',
'修改' => 'modify',
'审核' => 'review',
'投稿' => 'contribute'
);
$config['auhtor_task_status'] = array(
'编辑中' => 'edit', //新建任务或作者编辑
'待审核' => 'review', //作者提交,待管理员审核
'审核通过' => 'reviewed', //审核通过,未付款,审核不通过则把状态改为“编辑中”
'完结' => 'complete' //已付款。任务结束
);
$config['auhtor_task_detail_status'] = array(
'使用的' => 'used', //表示目前正在使用的记录,用于区别草稿、版本等其他状态。原因是用同一个表保存不同属性的记录
'原始' => 'original', //原始任务信息备份
'版本' => 'version' //多份,每提交审核一次生成一份
);
//项目类型
$config['project_types'] = array(
'base' => '绩效项目',
'dare' => '挑战项目',
'innovation' => '创新项目'
);
//项目状态
$config['project_state'] = array(
'notstart' => '还没开始',
'runing' => '开发中',
'complete' => '完成'
);
//是否开启权限控制
$config['check_access'] = TRUE;
//权限管理超级管理
$config['access_super_manage'] = array('ycc', 'lmr', 'lyj', 'cyc', 'zp');
//编辑器预览样式路径
$config['css_source_cht'] = 'https://data.chinahighlights.com/css/min.php?f=/public/css/global.min.css,/css/festival-detail.css';
$config['css_source_ch'] = 'https://data.chinahighlights.com/css/mobile-first.css';
$config['css_source_gm'] = 'https://data.chinarundreisen.com/public/pkg/css/baselAlRkXMnl750806T065919409Z.css';
$config['css_source_vc'] = 'https://data.voyageschine.com/information-view/tools/min/?v=20150611&amp;f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-vc.css';
$config['css_source_vac'] = 'https://data.viaje-a-china.com/information-view/tools/min/?v=20150611&amp;f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-vac.css';
$config['css_source_ru'] = 'https://data.chinahighlights.ru/information-view/tools/min/?v=20150611&amp;f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-ru.css';
$config['css_source_it'] = 'https://data.viaggio-in-cina.it/information-view/tools/min/?v=20150611&amp;f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-it.css';
$config['css_source_jp'] = 'https://data.arachina.com/information-view/tools/min/?v=20150611&amp;f=/bootstrap/css/bootstrap.min.css,/information/css/base.css,/information/css/r/Header.css,/information/css/r/PublicContent.css,/information/css/r/footergray.css,/information/js/i18n/jquery.ui.datepicker/smoothness/jquery.min.css,/information/css/tip-yellowsimple/tip-yellowsimple.css,/information/css/private-jp.css';
$config['css_source_sht'] = 'https://www.shanghaihighlights.com/css/css3/bootstrap/bootstrap.css';
$config['css_source_gl'] = 'https://www.guilinchina.net/css/css3/bootstrap/bootstrap.css';
$config['css_source_tbt'] = 'https://www.tibetguru.com/css/style.css';
$config['css_source_mbj'] = 'https://www.mybeijingchina.com/css/layout.css';
$config['css_source_yz'] = 'https://www.yangtzeriver.org/css/css3/bootstrap/bootstrap.css';
$config['css_source_ah'] = 'https://www.asiahighlights.com/min/?f=/css/global.min.css,/js/bootstrap-datepicker/css/bootstrap-datepicker3.standalone.css,/css/basic.css,/css/homepage.css,/css/contact.css,/css/tailor-make.css,/css/tour.css,/css/tour-detail.css,/css/inquiry-form.css,/css/missing.css';
$config['css_source_gh'] = 'https://www.globalhighlights.com/css/global.css';
$config['css_source_ct'] = 'https://data.chinatravel.com/css/min.php?f=/css/css3/bootstrap/bootstrap.css,/css/css3/style.css,/css/css3/destination-details.css';
$config['css_source_ts'] = 'https://www.trainspread.com/css/bootstrap.min.css';
//静态文件生成路径
$config['cache']['jp']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\arachina.com';
$config['cache']['gm']['cache_path'] = 'C:\Dropbox\wwwcache\chinarundreisen.com';
$config['cache']['vc']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\voyageschine.com';
$config['cache']['vac']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\viaje-a-china.com';
$config['cache']['ru']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\chinahighlights.ru';
$config['cache']['it']['cache_path'] = 'C:\VHD\Dropbox\wwwcache\viaggio-in-cina.it';
$config['cache']['ch']['cache_path'] = 'D:\wwwcache\chinahighlights.com';
//静态文件更新接口
$config['cache']['jp']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['gm']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['vc']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['vac']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['ru']['cache_api'] = '/info.php/information/update_cache/';
$config['cache']['it']['cache_api'] = '/info.php/information/update_cache/';
//静态文件更新接口参数
$config['cache']['jp']['cache_api_para'] = 'cache_url';
$config['cache']['gm']['cache_api_para'] = 'cache_url';
$config['cache']['vc']['cache_api_para'] = 'cache_url';
$config['cache']['vac']['cache_api_para'] = 'cache_url';
$config['cache']['ru']['cache_api_para'] = 'cache_url';
$config['cache']['it']['cache_api_para'] = 'cache_url';
//本地测试用 - lmr
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.62:9999') {
$config['site']['jp']['site_url'] = 'http://202.103.68.62:9093';
$config['site']['gm']['site_url'] = 'http://202.103.68.62:9094';
$config['site']['vc']['site_url'] = 'http://202.103.68.62:9095';
$config['site']['vac']['site_url'] = 'http://202.103.68.62:9096';
$config['site']['ru']['site_url'] = 'http://202.103.68.62:9097';
$config['site']['it']['site_url'] = 'http://202.103.68.62:9098';
}
//本地测试用 - lyy
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '202.103.68.34:9999' || $_SERVER['HTTP_HOST'] == 'localhost:9999') {
$config['site']['sht']['site_url'] = 'http://202.103.68.34:8880';
$config['site']['gl']['site_url'] = 'http://202.103.68.34:8881';
$config['site']['diy']['site_url'] = 'http://202.103.68.34:9091';
}
//德语网站信息平台-TDY
if (isset($_SERVER['HTTP_HOST']) && $_SERVER['HTTP_HOST'] == '144.76.185.44:8576') {
$config['cache']['gm']['cache_path'] = 'C:\inetpub\wwwroot\gmsite\static';
}
//country控制器用到了
//信息类型
$config['InfoType_country'] = array(
'不设置' => 'none',
'首页' => 'root',
'基本数据' => 'n_facts',
'国家艺术' => 'n_arts',
'国家文化' => 'n_culture',
'国家概述' => 'n_overview',
'国家图片' => 'n_photos',
'国家景点' => 'n_attraction',
'国家旅游' => 'n_travel',
'国家交通' => 'n_transport',
'国家天气' => 'n_weather',
'国家节庆' => 'n_festival',
'国家美食' => 'n_food',
'国家历史' => 'n_history',
'国家地图' => 'n_map',
'民族传统和文化遗产' => 'n_national',
'产品附加信息' => 'product',
'旅游工具箱' => 'n_tools'
);
//province控制器用到了
$config['InfoType_province'] = array(
'不设置' => 'none',
'首页' => 'root',
'基本数据' => 'p_facts',
'地图' => 'p_map',
'地图详细' => 'p_map_detail',
'交通' => 'p_transport',
'节庆' => 'p_festival',
'天气' => 'p_weather',
'旅游建议' => 'p_tips',
'热门旅游城市' => 'p_popular_city',
'产品附加信息' => 'product'
);
//city控制器用到了
$config['InfoType_city'] = array(
'不设置' => 'none',
'首页' => 'root',
'简介' => 'c_overview',
'关于' => 'c_about',
'食物' => 'c_food',
'食物详细' => 'c_food_detail',
'餐饮' => 'c_restaurant',
'餐饮详细' => 'c_restaurant_detail',
'历史' => 'c_history',
'基本数据' => 'c_facts',
'旅游' => 'c_travel',
'交通' => 'c_transport',
'地图' => 'c_map',
'地图详细' => 'c_map_detail',
'天气' => 'c_weather',
'天气详细' => 'c_weather_detail',
'购物' => 'c_shopping',
'夜生活' => 'c_nightlife',
'旅游建议' => 'c_tips',
'值得做的' => 'c_todo',
'景点概述' => 'c_attraction',
'景点详细' => 'c_attraction_detail',
'推荐做的' => 'c_toptodo',
'儿童旅游' => 'c_kids',
'推荐理由' => 'c_reason',
'城市article' => 'c_article',
'城市机票' => 'c_city_flights',
'产品附加信息' => 'product',
'article-Place to Go' => 'a_placetogo',
'article-Things to Do' => 'a_thingstodo',
'article-Seasonal' => 'a_seasonal',
'article-Food' => 'a_food',
'article-Culture' => 'a_culture',
'article-Travel Tips' => 'a_traveltips',
'article-Tour Planning' => 'a_tourplanning',
'layout' => 'layout',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
);
//special控制器用到了
$config['InfoType_special'] = array(
'不设置' => 'none',
'首页' => 'root',
'长江' => 't_yangtze_river',
'长城' => 't_greatwall',
'黄河' => 't_yellow_river',
'丝路' => 't_silkroad',
'茶马古道' => 't_tea_horse_road',
'穆斯林' => 't_muslims_in_china',
'自行车游' => 't_china_biking',
'徒步' => 't_china_hiking',
'青藏铁路' => 't_qinghai_tibet_railway',
'水乡' => 't_water_town',
'Top专题' => 't_best_china',
'Spotlight文章' => 't_spotlight',
'专题首页推介' => 't_topic_promotion',
'产品附加信息' => 'product'
);
//special控制器用到了
$config['InfoType_video'] = array(
'不设置' => 'none'
);
//节庆
$config['InfoType_festival'] = array(
'不设置' => 'none',
'民族节庆' => 'f_national',
'传统节庆' => 'f_tradition',
'旅游节庆' => 'f_travel'
);
//产品类型
$config['InfoType_product'] = array(
'不设置' => 'none',
'线路' => 'pd_tour',
'包价线路' => 'pd_package',
'信息页' => 'pd_info',
'移动端' => 'pd_phone'
);
//公民游
$config['InfoType_citizen'] = array(
'不设置' => 'none',
'大洲' => 'w_continent',
'国家' => 'w_country',
'城市' => 'w_city',
'签证信息' => 'w_visa',
'景点目录' => 'w_attraction',
'景点详细' => 'w_attraction_detail',
'地图目录' => 'w_map',
'地图详细' => 'w_map_detail',
'产品' => 'product'
);
//ct站点用到了
$config['InfoType_ct'] = array(
'不设置' => 'none',
'首页' => 'root',
'简介' => 'c_overview',
'关于' => 'c_about',
'食物' => 'c_food',
'食物详细' => 'c_food_detail',
'餐饮' => 'c_restaurant',
'餐饮详细' => 'c_restaurant_detail',
'历史' => 'c_history',
'Facts信息' => 'c_facts',
'旅游' => 'c_travel',
'交通' => 'c_transport',
'交通详细' => 'c_transport_detail',
'地图' => 'c_map',
'地图详细' => 'c_map_detail',
'天气' => 'c_weather',
'天气详细' => 'c_weather_detail',
'购物' => 'c_shopping',
'夜生活' => 'c_nightlife',
'旅游建议' => 'c_tips',
'景点概述' => 'c_attraction',
'景点详细' => 'c_attraction_detail',
'推荐做的' => 'c_toptodo',
'城市article' => 'c_article',
'产品' => 'c_product',
'产品详细' => 'c_product_detail',
'游记' => 'story',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
);
//AH站点用到了
$config['InfoType_ah'] = array(
'国家信息' => 'country_info',
'区域信息' => 'area_info',
'国家信息列表页' => 'country_info_list',
'区域信息列表页' => 'area_info_list',
'线路' => 'pd_tour',
6 years ago
'包价线路' => 'pd_package'
);
//可选模板
$config['templates'] = array(
'通用内容模板' => 'guide_info_detail',
'城市-列表模板' => 'city_info_list',
'城市-首页模板' => 'city_info_index',
'城市-首页模板(GM)' => 'city_info_index_new',
'城市-首页模板[简]' => 'city_info_s_index',
'城市-景点列表模板' => 'city_info_attractions_list',
'城市-景点列表模板[简]' => 'city_info_s_attractions_list',
'城市-特色产品模板' => 'city_info_diytour',
'城市-一线城市首页' => 'city_info_index_one',
'省份-首页' => "area_info_index",
'省份-列表模板' => 'area_info_list',
'省份-通用内容模板' => 'area_info_detail',
'文化模板 [列表式]' => "culture_info_detail_just_list",
'文化模板 [单页式]' => 'culture_info_detail_one_page',
'文化模板 [导航式]' => 'culture_info_detail_with_category',
'信息专题模板' => 'guide_top_series',
'火车专题模板' => 'train_top_series',
'旅游攻略' => 'travel_story',
'节庆-详细模板' => 'festival_detail',
'节庆-列表模板' => 'festival_list',
'大使馆-详细页' => 'embassy_info_detail',
'[国际站]响应式-空白模板' => 'r_tpl_empty',
'[国际站]空白模板' => 'tpl_empty',
'[国际站]空白模板+H1' => 'tpl_empty_h1',
'[国际站]空白模板+H1+左导航' => 'tpl_empty_navi_h1',
'[国际站]城市线路模板' => 'tpl_city_tour',
'[德语站]chinareisen' => 'chinareisen',
'[已废弃]专题-温暖' => 'warm',
'[已废弃]专题-庄重' => 'solemn',
'[已废弃]专题-节庆' => 'festival',
'[已废弃]专题-线路促销' => 'promotion_tour',
'[已废弃]城市-景点详细模板' => 'city_attractions',
'城市-线路详细' => 'city_circuit',
'专题模板(大)' => 'guide_big_series',
'三峡游船' => 'yangtze',
'城市article列表' => 'city_article_list',
'food列表' => 'food_list'
);
//德语信息模板
$config['templates_gm'] = array(
'通用内容模板' => 'guide_info_detail',
'城市-首页模板(GM)' => 'city_info_index',
'文化模板 [单页式]' => 'culture_info_detail_one_page',
'文化模板 [导航式]' => 'culture_info_detail_with_category',
'信息专题模板' => 'guide_top_series',
'列表式' => 'guide_info_list',
'空白模板' => 'none'
);
// CHT 信息模板
$config['templates_cht'] = array(
'通用内容模板' => 'guide_info_detail',
'城市-列表模板' => 'city_info_list',
'城市-首页模板' => 'city_info_index',
'城市-首页模板[简]' => 'city_info_s_index',
'城市-景点列表模板' => 'city_info_attractions_list',
'城市-景点列表模板[简]' => 'city_info_s_attractions_list',
'城市-特色产品模板' => 'city_info_diytour',
'城市-一线城市首页' => 'city_info_index_one',
'省份-首页' => "area_info_index",
'省份-列表模板' => 'area_info_list',
'省份-通用内容模板' => 'area_info_detail',
'文化模板 [列表式]' => "culture_info_detail_just_list",
'文化模板 [单页式]' => 'culture_info_detail_one_page',
'文化模板 [导航式]' => 'culture_info_detail_with_category',
'信息专题模板' => 'guide_top_series',
'火车专题模板' => 'train_top_series',
'旅游攻略' => 'travel_story',
'节庆-详细模板' => 'festival_detail',
'节庆-列表模板' => 'festival_list',
'大使馆-详细页' => 'embassy_info_detail',
'城市-线路详细' => 'city_circuit',
'专题模板(大)' => 'guide_big_series',
'三峡游船' => 'yangtze',
'城市article列表' => 'city_article_list',
'food列表' => 'food_list',
'FAQ模板' => 'faq_detail'
);
//产品管理板块模板
$config['templates_product'] = array(
'空白模板' => 'none',
);
//产品管理板块模板(国际站使用)
$config['templates_product_i'] = array(
7 years ago
'空白模板HTML构建工具' => 'r_empty_container',
'空白模板(新)' => 'r_tpl_empty_2017',
'空白模板(旧)' => 'r_tpl_empty',
);
//亚洲组专用模板
$config['templates_ah'] = array(
'空白模板' => 'none',
'静态页面' => 'static'
);
// 出境游网站模板
$config['templates_pgr'] = array(
'空白模板' => 'guide_info_detail', '导航模板' => 'culture_info_detail_with_category'
);
// 国际火车网站模板
$config['templates_ts'] = array(
'空白模板' => 'guide_info_detail', '信息导航模板' => 'train_series_with_category'
);
//翰特产品类型,Information控制器的get_products函数有直接调用在这里增加了信息需要去控制器写相关操作代码
$config['ProductType_HT'] = array(
'景点' => 't'
);
//区域类型对应字母
$config['area_type'] = array(
'机场' => 'a',
'城市' => 'c',
'大洲' => 'e',
'节庆' => 'f',
'团购' => 'g',
'航空公司' => 'l',
'国家' => 'n',
'省份' => 'p',
'火车站信息' => 'r',
'新闻' => 's',
'专题' => 't',
'视频' => 'v',
'大使馆' => 'y',
'公民游' => 'z',
'交换链接' => 'k',
'FAQ' => 'q'
);
$config['auhtor_task_type'] = array(
'翻译' => 'translate',
'修改' => 'modify',
'审核' => 'review',
'投稿' => 'contribute'
);
$config['auhtor_task_status'] = array(
'编辑中' => 'edit', //新建任务或作者编辑
'待审核' => 'review', //作者提交,待管理员审核
'审核通过' => 'reviewed', //审核通过,未付款,审核不通过则把状态改为“编辑中”
'完结' => 'complete' //已付款。任务结束
);
$config['auhtor_task_detail_status'] = array(
'使用的' => 'used', //表示目前正在使用的记录,用于区别草稿、版本等其他状态。原因是用同一个表保存不同属性的记录
'原始' => 'original', //原始任务信息备份
'版本' => 'version' //多份,每提交审核一次生成一份
);
//项目类型
$config['project_types'] = array(
'base' => '绩效项目',
'dare' => '挑战项目',
'innovation' => '创新项目'
);
//项目状态
$config['project_state'] = array(
'notstart' => '还没开始',
'runing' => '开发中',
'complete' => '完成'
);
//多媒体中心的本地图片路径
//上传图片是异步上网的所以用此url进行本地预览
$config['media_image_url'] = 'https://video.chtcdn.com/upload';
$config['media_image_url2'] = 'http://video.chtcdn.com/upload';
$config['media_image_url3'] = 'http://202.103.68.44/upload';
$config['media_image_url_org'] = 'http://photo.chtcdn.com:3581/upload';
$config['media_image_url_org2'] = 'https://media-center.mycht.cn/upload';
$config['media_image_url_remote'] = 'http://photo.chtcdn.com/upload';
$config['media_image_url_remote2'] = 'http://116.251.217.48:3581/upload';
/* End of file config.php */
/* Location: ./application/config/config.php */
header('Cache-Control: no-cache');