配置德语产品模板 fix 1

hotfix/paypal-note
LMR 2 years ago
parent 0a11f61b1c
commit 8221806bb4

@ -2,22 +2,23 @@
?>
<?php
if (!defined('BASEPATH'))
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.
|
|--------------------------------------------------------------------------
| 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分发之后源站和前端域名不一致在这里修正否则程序生成的链接是源站的域名
@ -51,343 +52,338 @@ switch ($_SERVER['SERVER_NAME']) {
$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.
|
|--------------------------------------------------------------------------
| 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
|
|--------------------------------------------------------------------------
| 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
|--------------------------------------------------------------------------
| 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.
|
|--------------------------------------------------------------------------
| 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.
|
|--------------------------------------------------------------------------
| 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.
|
|--------------------------------------------------------------------------
| 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;
$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
|
|--------------------------------------------------------------------------
| 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!!
|
|--------------------------------------------------------------------------
| 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.
|
|--------------------------------------------------------------------------
| 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['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.
|
|--------------------------------------------------------------------------
| 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.
|
|--------------------------------------------------------------------------
| 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
|
|--------------------------------------------------------------------------
| 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.
|
|--------------------------------------------------------------------------
| 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.
|
|--------------------------------------------------------------------------
| 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
|
|--------------------------------------------------------------------------
| 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_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;
$config['sess_match_useragent'] = FALSE;
$config['sess_match_ip'] = false;
$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.
|
|--------------------------------------------------------------------------
| 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;
$config['cookie_secure'] = false;
/*
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
|--------------------------------------------------------------------------
| Global XSS Filtering
|--------------------------------------------------------------------------
|
| Determines whether the XSS filter is always active when GET, POST or
| COOKIE data is encountered
|
*/
$config['global_xss_filtering'] = FALSE;
$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.
|--------------------------------------------------------------------------
| 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_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.
|
|--------------------------------------------------------------------------
| 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;
$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.
|
|--------------------------------------------------------------------------
| 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)
|
|--------------------------------------------------------------------------
| 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;
$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'
|
|--------------------------------------------------------------------------
| 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'] = '';
@ -418,7 +414,7 @@ $config['site'] = array(
'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,'))
'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,')),
);
//静态文件生成路径
@ -453,7 +449,6 @@ $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';
@ -496,7 +491,7 @@ $config['InfoType_country'] = array(
'国家地图' => 'n_map',
'民族传统和文化遗产' => 'n_national',
'产品附加信息' => 'product',
'旅游工具箱' => 'n_tools'
'旅游工具箱' => 'n_tools',
);
//province控制器用到了
@ -511,7 +506,7 @@ $config['InfoType_province'] = array(
'天气' => 'p_weather',
'旅游建议' => 'p_tips',
'热门旅游城市' => 'p_popular_city',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//city控制器用到了
@ -553,7 +548,7 @@ $config['InfoType_city'] = array(
'article-Tour Planning' => 'a_tourplanning',
'layout' => 'layout',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
'一日游线路详细' => 'c_day_tour',
);
//special控制器用到了
@ -573,13 +568,12 @@ $config['InfoType_special'] = array(
'Top专题' => 't_best_china',
'Spotlight文章' => 't_spotlight',
'专题首页推介' => 't_topic_promotion',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//special控制器用到了
$config['InfoType_video'] = array(
'不设置' => 'none'
'不设置' => 'none',
);
//节庆
@ -587,7 +581,7 @@ $config['InfoType_festival'] = array(
'不设置' => 'none',
'民族节庆' => 'f_national',
'传统节庆' => 'f_tradition',
'旅游节庆' => 'f_travel'
'旅游节庆' => 'f_travel',
);
//公民游
@ -601,10 +595,9 @@ $config['InfoType_citizen'] = array(
'景点详细' => 'w_attraction_detail',
'地图目录' => 'w_map',
'地图详细' => 'w_map_detail',
'产品' => 'product'
'产品' => 'product',
);
//可选模板
$config['templates_i'] = array(
'[城市]C通用模板' => 'guide_info_detail',
@ -634,12 +627,12 @@ $config['templates_i'] = array(
'[废弃]D专题-温暖' => 'warm',
'[废弃]D专题-庄重' => 'solemn',
'[废弃]D专题-节庆' => 'festival',
'[废弃]D专题-促销' => 'promotion_tour'
'[废弃]D专题-促销' => 'promotion_tour',
);
//翰特产品类型,Information控制器的get_products函数有直接调用在这里增加了信息需要去控制器写相关操作代码
$config['ProductType_HT'] = array(
'景点' => 't'
'景点' => 't',
);
//区域类型对应字母
@ -660,42 +653,41 @@ $config['area_type'] = array(
'公民游' => 'z',
'交换链接' => 'k',
'首页' => 'h',
'FAQ' => 'q'
'FAQ' => 'q',
);
$config['auhtor_task_type'] = array(
'翻译' => 'translate',
'修改' => 'modify',
'审核' => 'review',
'投稿' => 'contribute'
'投稿' => 'contribute',
);
$config['auhtor_task_status'] = array(
'编辑中' => 'edit', //新建任务或作者编辑
'待审核' => 'review', //作者提交,待管理员审核
'审核通过' => 'reviewed', //审核通过,未付款,审核不通过则把状态改为“编辑中”
'完结' => 'complete' //已付款。任务结束
'完结' => 'complete', //已付款。任务结束
);
$config['auhtor_task_detail_status'] = array(
'使用的' => 'used', //表示目前正在使用的记录,用于区别草稿、版本等其他状态。原因是用同一个表保存不同属性的记录
'原始' => 'original', //原始任务信息备份
'版本' => 'version' //多份,每提交审核一次生成一份
'版本' => 'version', //多份,每提交审核一次生成一份
);
//项目类型
$config['project_types'] = array(
'base' => '绩效项目',
'dare' => '挑战项目',
'innovation' => '创新项目'
'innovation' => '创新项目',
);
//项目状态
$config['project_state'] = array(
'notstart' => '还没开始',
'runing' => '开发中',
'complete' => '完成'
'complete' => '完成',
);
//是否开启权限控制
$config['check_access'] = TRUE;
$config['check_access'] = true;
//权限管理超级管理
$config['access_super_manage'] = array('ycc', 'lmr', 'lyj', 'rz', 'zp');
@ -722,7 +714,6 @@ $config['css_source_ct'] = 'https://data.chinatravel.com/css/min.php?f=/css/css3
$config['css_source_chinatravel'] = 'https://data.chinatravel.com/css/newcss3/base.css';
$config['css_source_ts'] = 'https://www.trainspread.com/css/bootstrap.min.css';
//静态文件生成路径
$config['cache']['jp']['cache_path'] = 'D:\wwwcache-intl\arachina.com';
@ -752,7 +743,6 @@ $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';
@ -795,7 +785,7 @@ $config['InfoType_country'] = array(
'国家地图' => 'n_map',
'民族传统和文化遗产' => 'n_national',
'产品附加信息' => 'product',
'旅游工具箱' => 'n_tools'
'旅游工具箱' => 'n_tools',
);
//province控制器用到了
@ -810,7 +800,7 @@ $config['InfoType_province'] = array(
'天气' => 'p_weather',
'旅游建议' => 'p_tips',
'热门旅游城市' => 'p_popular_city',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//city控制器用到了
@ -852,7 +842,7 @@ $config['InfoType_city'] = array(
'article-Tour Planning' => 'a_tourplanning',
'layout' => 'layout',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
'一日游线路详细' => 'c_day_tour',
);
//special控制器用到了
@ -872,13 +862,12 @@ $config['InfoType_special'] = array(
'Top专题' => 't_best_china',
'Spotlight文章' => 't_spotlight',
'专题首页推介' => 't_topic_promotion',
'产品附加信息' => 'product'
'产品附加信息' => 'product',
);
//special控制器用到了
$config['InfoType_video'] = array(
'不设置' => 'none'
'不设置' => 'none',
);
//节庆
@ -886,7 +875,7 @@ $config['InfoType_festival'] = array(
'不设置' => 'none',
'民族节庆' => 'f_national',
'传统节庆' => 'f_tradition',
'旅游节庆' => 'f_travel'
'旅游节庆' => 'f_travel',
);
//产品类型
@ -895,7 +884,7 @@ $config['InfoType_product'] = array(
'线路' => 'pd_tour',
'包价线路' => 'pd_package',
'信息页' => 'pd_info',
'移动端' => 'pd_phone'
'移动端' => 'pd_phone',
);
//公民游
@ -909,7 +898,7 @@ $config['InfoType_citizen'] = array(
'景点详细' => 'w_attraction_detail',
'地图目录' => 'w_map',
'地图详细' => 'w_map_detail',
'产品' => 'product'
'产品' => 'product',
);
//ct站点用到了
@ -942,7 +931,7 @@ $config['InfoType_ct'] = array(
'产品详细' => 'c_product_detail',
'游记' => 'story',
'一地线路详细' => 'c_single_circuit',
'一日游线路详细' => 'c_day_tour'
'一日游线路详细' => 'c_day_tour',
);
//AH站点用到了
@ -952,7 +941,7 @@ $config['InfoType_ah'] = array(
'国家信息列表页' => 'country_info_list',
'区域信息列表页' => 'area_info_list',
'线路' => 'pd_tour',
'包价线路' => 'pd_package'
'包价线路' => 'pd_package',
);
//可选模板
@ -993,7 +982,7 @@ $config['templates'] = array(
'专题模板(大)' => 'guide_big_series',
'三峡游船' => 'yangtze',
'城市article列表' => 'city_article_list',
'food列表' => 'food_list'
'food列表' => 'food_list',
);
//德语信息模板
@ -1004,7 +993,7 @@ $config['templates_gm'] = array(
'文化模板 [导航式]' => 'culture_info_detail_with_category',
'信息专题模板' => 'guide_top_series',
'列表式' => 'guide_info_list',
'空白模板' => 'none'
'空白模板' => 'none',
);
// CHT 信息模板
@ -1034,7 +1023,7 @@ $config['templates_cht'] = array(
'三峡游船' => 'yangtze',
'城市article列表' => 'city_article_list',
'food列表' => 'food_list',
'FAQ模板' => 'faq_detail'
'FAQ模板' => 'faq_detail',
);
//产品管理板块模板
@ -1042,6 +1031,17 @@ $config['templates_product'] = array(
'空白模板' => 'none',
);
//产品管理板块模板
$config['templates_product_gm'] = array(
'空白模板' => 'none',
'通用内容模板' => 'guide_info_detail',
'城市-首页模板(GM)' => 'city_info_index',
'文化模板 [单页式]' => 'culture_info_detail_one_page',
'文化模板 [导航式]' => 'culture_info_detail_with_category',
'信息专题模板' => 'guide_top_series',
'列表式' => 'guide_info_list',
);
//产品管理板块模板(国际站使用)
$config['templates_product_i'] = array(
'空白模板HTML构建工具' => 'r_empty_container',
@ -1049,25 +1049,24 @@ $config['templates_product_i'] = array(
'空白模板(旧)' => 'r_tpl_empty',
);
//亚洲组专用模板
$config['templates_ah'] = array(
'空白模板' => 'none',
'静态页面' => 'static'
'静态页面' => 'static',
);
// 出境游网站模板
$config['templates_pgr'] = array(
'空白模板' => 'guide_info_detail', '导航模板' => 'culture_info_detail_with_category'
'空白模板' => 'guide_info_detail', '导航模板' => 'culture_info_detail_with_category',
);
// 国际火车网站模板
$config['templates_ts'] = array(
'空白模板' => 'guide_info_detail', '信息导航模板' => 'train_series_with_category'
'空白模板' => 'guide_info_detail', '信息导航模板' => 'train_series_with_category',
);
//翰特产品类型,Information控制器的get_products函数有直接调用在这里增加了信息需要去控制器写相关操作代码
$config['ProductType_HT'] = array(
'景点' => 't'
'景点' => 't',
);
//区域类型对应字母
@ -1087,37 +1086,37 @@ $config['area_type'] = array(
'大使馆' => 'y',
'公民游' => 'z',
'交换链接' => 'k',
'FAQ' => 'q'
'FAQ' => 'q',
);
$config['auhtor_task_type'] = array(
'翻译' => 'translate',
'修改' => 'modify',
'审核' => 'review',
'投稿' => 'contribute'
'投稿' => 'contribute',
);
$config['auhtor_task_status'] = array(
'编辑中' => 'edit', //新建任务或作者编辑
'待审核' => 'review', //作者提交,待管理员审核
'审核通过' => 'reviewed', //审核通过,未付款,审核不通过则把状态改为“编辑中”
'完结' => 'complete' //已付款。任务结束
'完结' => 'complete', //已付款。任务结束
);
$config['auhtor_task_detail_status'] = array(
'使用的' => 'used', //表示目前正在使用的记录,用于区别草稿、版本等其他状态。原因是用同一个表保存不同属性的记录
'原始' => 'original', //原始任务信息备份
'版本' => 'version' //多份,每提交审核一次生成一份
'版本' => 'version', //多份,每提交审核一次生成一份
);
//项目类型
$config['project_types'] = array(
'base' => '绩效项目',
'dare' => '挑战项目',
'innovation' => '创新项目'
'innovation' => '创新项目',
);
//项目状态
$config['project_state'] = array(
'notstart' => '还没开始',
'runing' => '开发中',
'complete' => '完成'
'complete' => '完成',
);
//多媒体中心的本地图片路径
//上传图片是异步上网的所以用此url进行本地预览
@ -1132,5 +1131,4 @@ $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');

@ -245,6 +245,8 @@ class Information extends CI_Controller
//LMR 2016-7-14
if (in_array($this->config->item('site_code'), array('vac', 'vc', 'jp', 'ru', 'it'))) {
$this->config->set_item('templates', $this->config->item('templates_product_i'));
} else if ($this->config->item('site_code' == 'gm')) {
$this->config->set_item('templates', $this->config->item('templates_product_gm'));
} else {
$this->config->set_item('templates', $this->config->item('templates_product'));
}

Loading…
Cancel
Save