diff --git a/application/config/config.php b/application/config/config.php index f483633d..a404efc2 100644 --- a/application/config/config.php +++ b/application/config/config.php @@ -446,8 +446,6 @@ $config['cache']['gh_vac']['cache_path'] = 'D:\wwwcache-intl\globalhighlights.es $config['cache']['gh_ru']['cache_path'] = 'D:\wwwcache-intl\globalhighlights.ru'; $config['cache']['gh_it']['cache_path'] = 'D:\wwwcache-intl\globalhighlights.it'; -$config['cache']['ch_fr']['cache_path'] = 'D:\wwwcache-intl\chinahighlights.fr'; - //静态文件站点域名 $config['cache']['jp']['site_url'] = 'https://www.arachina.com'; $config['cache']['gm']['site_url'] = 'https://www.chinarundreisen.com'; @@ -463,8 +461,6 @@ $config['cache']['gh_vac']['site_url'] = 'https://www.globalhighlights.es'; $config['cache']['gh_ru']['site_url'] = 'https://www.globalhighlights.ru'; $config['cache']['gh_it']['site_url'] = 'https://www.globalhighlights.it'; -$config['cache']['ch_fr']['site_url'] = 'https://www.chinahighlights.fr'; - //静态文件更新接口 $config['cache']['jp']['cache_api'] = '/info.php/information/update_cache/'; $config['cache']['gm']['cache_api'] = '/info.php/information/update_cache/'; @@ -480,8 +476,6 @@ $config['cache']['gh_vac']['cache_api'] = '/info.php/information/update_cache/'; $config['cache']['gh_ru']['cache_api'] = '/info.php/information/update_cache/'; $config['cache']['gh_it']['cache_api'] = '/info.php/information/update_cache/'; -$config['cache']['ch_fr']['cache_api'] = '/info.php/information/update_cache/'; - //静态文件更新接口参数 $config['cache']['jp']['cache_api_para'] = 'cache_url'; $config['cache']['gm']['cache_api_para'] = 'cache_url'; @@ -497,157 +491,6 @@ $config['cache']['gh_vac']['cache_api_para'] = 'cache_url'; $config['cache']['gh_ru']['cache_api_para'] = 'cache_url'; $config['cache']['gh_it']['cache_api_para'] = 'cache_url'; -$config['cache']['ch_fr']['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'] = [ - '不设置' => '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'] = [ - '不设置' => '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'] = [ - '不设置' => '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'] = [ - '不设置' => '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'] = [ - '不设置' => 'none', -]; - -//节庆 -$config['InfoType_festival'] = [ - '不设置' => 'none', - '民族节庆' => 'f_national', - '传统节庆' => 'f_tradition', - '旅游节庆' => 'f_travel', -]; - -//公民游 -$config['InfoType_citizen'] = [ - '不设置' => 'none', - '大洲' => 'w_continent', - '国家' => 'w_country', - '城市' => 'w_city', - '签证信息' => 'w_visa', - '景点目录' => 'w_attraction', - '景点详细' => 'w_attraction_detail', - '地图目录' => 'w_map', - '地图详细' => 'w_map_detail', - '产品' => 'product', -]; - //可选模板 $config['templates_i'] = [ '[城市]C通用模板' => 'guide_info_detail', @@ -680,62 +523,6 @@ $config['templates_i'] = [ '[废弃]D专题-促销' => 'promotion_tour', ]; -//翰特产品类型,Information控制器的get_products函数有直接调用,在这里增加了信息需要去控制器写相关操作代码 -$config['ProductType_HT'] = [ - '景点' => 't', -]; - -//区域类型对应字母 -$config['area_type'] = [ - '机场' => 'a', - '城市' => 'c', - '大洲' => 'e', - '节庆' => 'f', - '团购' => 'g', - '航空公司' => 'l', - '国家' => 'n', - '省份' => 'p', - '火车站信息' => 'r', - '新闻' => 's', - '专题' => 't', - '视频' => 'v', - '大使馆' => 'y', - '公民游' => 'z', - '交换链接' => 'k', - '首页' => 'h', - 'FAQ' => 'q', -]; - -$config['auhtor_task_type'] = [ - '翻译' => 'translate', - '修改' => 'modify', - '审核' => 'review', - '投稿' => 'contribute', -]; -$config['auhtor_task_status'] = [ - '编辑中' => 'edit', //新建任务或作者编辑 - '待审核' => 'review', //作者提交,待管理员审核 - '审核通过' => 'reviewed', //审核通过,未付款,审核不通过则把状态改为“编辑中” - '完结' => 'complete', //已付款。任务结束 -]; -$config['auhtor_task_detail_status'] = [ - '使用的' => 'used', //表示目前正在使用的记录,用于区别草稿、版本等其他状态。原因是用同一个表保存不同属性的记录 - '原始' => 'original', //原始任务信息备份 - '版本' => 'version', //多份,每提交审核一次生成一份 -]; -//项目类型 -$config['project_types'] = [ - 'base' => '绩效项目', - 'dare' => '挑战项目', - 'innovation' => '创新项目', -]; -//项目状态 -$config['project_state'] = [ - 'notstart' => '还没开始', - 'runing' => '开发中', - 'complete' => '完成', -]; - //是否开启权限控制 $config['check_access'] = true; //权限管理超级管理 @@ -770,13 +557,6 @@ $config['css_source_guilin'] = 'https://data.guilinchina.net/css/css3/base. $config['css_source_ts'] = 'https://www.trainspread.com/css/bootstrap.min.css'; //静态文件生成路径 - -$config['cache']['jp']['cache_path'] = 'D:\wwwcache-intl\arachina.com'; -$config['cache']['gm']['cache_path'] = 'D:\wwwcache-gm\chinarundreisen.com'; -$config['cache']['vc']['cache_path'] = 'D:\wwwcache-intl\voyageschine.com'; -$config['cache']['vac']['cache_path'] = 'D:\wwwcache-intl\viaje-a-china.com'; -$config['cache']['ru']['cache_path'] = 'D:\wwwcache-intl\chinahighlights.ru'; -$config['cache']['it']['cache_path'] = 'D:\wwwcache-intl\viaggio-in-cina.it'; $config['cache']['ch']['cache_path'] = 'D:\wwwcache\chinahighlights.com'; $config['cache']['ah']['cache_path'] = 'D:\wwwcache\asiahighlights.com'; $config['cache']['jh']['cache_path'] = 'D:\wwwcache\japanhighlights.com'; @@ -787,22 +567,6 @@ $config['cache']['beijing']['cache_path'] = 'D:\wwwcache\mobile-first\mybeij $config['cache']['trainspread']['cache_path'] = 'D:\wwwcache\mobile-first\trainspread.com'; $config['cache']['guilin']['cache_path'] = 'D:\wwwcache\mobile-first\guilinchina.net'; -//静态文件更新接口 -$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';