<?php
$domain_url = MyFileConfig('common_domain_host', '', __MY_DOMAIN__, true);
if(substr($domain_url, -1) != DS)
{
$domain_url .= DS;
}
$cdn_attachment_host = MyFileConfig('common_cdn_attachment_host', '', __MY_PUBLIC_URL__, true);
$cdn_public_host = MyFileConfig('common_cdn_public_host', '', __MY_PUBLIC_URL__, true);
if(substr($cdn_attachment_host, -1) == DS)
{
$cdn_attachment_host = substr($cdn_attachment_host, 0, -1);
}
if(substr($cdn_public_host, -1) != DS)
{
$cdn_public_host .= DS;
}
$store_http = (MyFileConfig('common_is_https_connect_store') == 1) ? 'https://' : 'http://';
return [
'is_develop' => false,
'default_charset' => 'utf-8',
'cache_admin_left_menu_key' => 'cache_admin_left_menu_',
'cache_admin_power_key' => 'cache_admin_power_',
'cache_admin_power_plugins_key' => 'cache_admin_power_plugins_',
'cache_admin_power_all_plugins_key' => 'cache_admin_power_all_plugins_',
'cache_common_my_config_key' => 'cache_common_my_config_data',
'cache_common_home_nav_header_key' => 'cache_common_home_nav_header_data',
'cache_common_home_nav_footer_key' => 'cache_common_home_nav_footer_data',
'cache_goods_category_key' => 'cache_goods_category_key_data',
'cache_goods_detail_middle_tabs_key' => 'cache_goods_detail_middle_tabs_key_data',
'cache_goods_comments_score_key' => 'cache_goods_comments_score_key_data',
'cache_plugins_data_key' => 'cache_plugins_data_key_data_',
'cache_user_login_left_key' => 'cache_user_login_left_data',
'cache_user_forgetpwd_left_key' => 'cache_user_forgetpwd_left_data',
'cache_user_info' => 'cache_user_info_',
'cache_goods_floor_list_key' => 'cache_goods_floor_list_data',
'cache_banner_list_key' => 'cache_banner_list_data_',
'cache_app_home_navigation_key' => 'cache_app_home_navigation_data_',
'cache_app_user_center_navigation_key' => 'cache_app_user_center_navigation_data_',
'cache_quick_navigation_key' => 'cache_quick_navigation_data_',
'cache_region_all_key' => 'cache_region_all_data',
'cache_search_keywords_key' => 'cache_search_keywords_data',
'cache_search_start_ranking_key' => 'cache_search_start_ranking_data',
'cache_home_article_list_key' => 'cache_home_article_list_data',
'cache_home_link_list_key' => 'cache_home_link_list_data',
'cache_table_main_data_key' => 'cache_table_main_data_key_data',
'cache_table_structure_key' => 'cache_table_structure_key_data',
'domain_url' => $domain_url,
'attachment_host' => $cdn_attachment_host,
'public_host' => $cdn_public_host,
'website_url' => $store_http.'shopxo.net/',
'store_url' => $store_http.'store.shopxo.net/',
'store_payment_url' => $store_http.'store.shopxo.net/',
'store_design_url' => $store_http.'store.shopxo.net/',
'store_diy_url' => $store_http.'store.shopxo.net/',
'store_forminput_url' => $store_http.'store.shopxo.net/',
'store_theme_url' => $store_http.'store.shopxo.net/',
'store_regster_url' => $store_http.'store.shopxo.net/regster.html',
'store_download_url' => $store_http.'store.shopxo.net/index.php?s=store-package-onine.html',
'store_system_upgrade_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=systemsupgradeurl',
'store_plugins_upgrade_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=pluginsupgradeurl',
'store_site_info_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=siteinfo',
'store_inspect_upgrade_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=inspectupgrade',
'store_plugins_legal_check_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=pluginslegalcheck',
'store_plugins_upgrade_info_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=pluginsupgradeinfo',
'store_plugins_upload_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=pluginsupload',
'store_diy_upload_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=diyupload',
'store_forminput_upload_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=forminputupload',
'store_themeadmin_upload_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=themeadminupload',
'store_package_data_list_url' => $store_http.'store.shopxo.net/api.php?s=plugins/index&pluginsname=store&pluginscontrol=index&pluginsaction=packagedatalist',
'payment_business_type_all' => [
['name' => 'Order', 'desc' => '订单'],
],
'payment_cannot_deleted_list' => [
'CashPayment',
'DeliveryPayment',
'ChargePayment',
],
'under_line_list' => [
'CashPayment',
'DeliveryPayment',
'ChargePayment',
],
'mini_app_type_list' => ['weixin', 'alipay', 'baidu', 'toutiao', 'qq'],
'coordinate_transformation' => ['alipay', 'weixin', 'toutiao', 'baidu'],
'currency_symbol' => '¥',
'currency_code' => 'RMB',
'currency_rate' => 0.0000,
'currency_name' => '人民币',
'security_prevent_violence_max' => 6,
];
?>