Commit a444ab21 authored by tufengqi's avatar tufengqi

or to ||

parent 6e864b07
......@@ -80,9 +80,10 @@ if (true === $location_default_version) {
throw new Exception('服务器代码定位错误');
}
}
defined('YII_DEBUG') or define('YII_DEBUG', true);
defined('YII_ENV_DEV') or define('YII_ENV_DEV', 'dev');
defined('APP_FOLDER') or define('APP_FOLDER', 'application');
defined('YII_DEBUG') || define('YII_DEBUG', true);
defined('YII_ENV_DEV') || define('YII_ENV_DEV', 'dev');
defined('APP_FOLDER') || define('APP_FOLDER', 'application');
defined('SERVICE_FORCE_VERSION_KEY') || define('SERVICE_FORCE_VERSION_KEY', 'thrift_impl_version');
// swoole程序中每次访问可能根据用户请求带的版本号有所不同
$GLOBALS['GLOBAL_VERSION_VALUE'] = $version_val;
$GLOBALS['GLOBAL_VERSION_VALUE_NO_PTEFIX'] = $version_val_no_prefix;
......
......@@ -3,8 +3,8 @@
$index_root_path = '/data33/';
$app_package_path = $index_root_path . 'inner_site/';
$base_path = $origin_base_path = $index_root_path . 'inner_site/cms_otc_api/';
defined('VERSION_KEY') or define('VERSION_KEY', 'inner_site_cms_otc_api_version');
defined('VERSION_KEY') || define('VERSION_KEY', 'inner_site_cms_otc_api_version');
$version_path = $index_root_path . 'version/';
defined('SERVICE_ENV') or define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'cms_otc_api_main_web.php');
defined('SERVICE_ENV') || define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') || define('MAIN_WEB_CONFIG_FILE', 'cms_otc_api_main_web.php');
/* 需要修改的参数>> */
\ No newline at end of file
......@@ -3,8 +3,8 @@
$index_root_path = '/data33/';
$app_package_path = $index_root_path . 'inner_site/';
$base_path = $origin_base_path = $index_root_path . 'inner_site/devops/';
defined('VERSION_KEY') or define('VERSION_KEY', 'inner_site_devops_version');
defined('VERSION_KEY') || define('VERSION_KEY', 'inner_site_devops_version');
$version_path = $index_root_path . 'version/';
defined('SERVICE_ENV') or define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'devops_main_web.php');
defined('SERVICE_ENV') || define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') || define('MAIN_WEB_CONFIG_FILE', 'devops_main_web.php');
/* 需要修改的参数>> */
......@@ -3,9 +3,9 @@
$index_root_path = '/home/work/data/';
$app_package_path = $index_root_path . 'thrift_impl/';
$base_path = $origin_base_path = $index_root_path . 'thrift_impl/risk-sites/';
defined('VERSION_KEY') or define('VERSION_KEY', 'thrift_impl_risk_sites_version');
defined('VERSION_KEY') || define('VERSION_KEY', 'thrift_impl_risk_sites_version');
$version_path = $index_root_path . 'version/';
defined('SERVICE_ENV') or define('SERVICE_ENV', 'local');
defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'thrift_impl_risk_sites_main_web.php');
defined('APP_FOLDER') or define('APP_FOLDER', basename(__DIR__));
defined('SERVICE_ENV') || define('SERVICE_ENV', 'local');
defined('MAIN_WEB_CONFIG_FILE') || define('MAIN_WEB_CONFIG_FILE', 'thrift_impl_risk_sites_main_web.php');
defined('APP_FOLDER') || define('APP_FOLDER', basename(__DIR__));
/* 需要修改的参数>> */
\ No newline at end of file
......@@ -3,9 +3,9 @@
$index_root_path = '/home/work/data/';
$app_package_path = $index_root_path . 'thrift_impl/';
$base_path = $origin_base_path = $index_root_path . 'thrift_impl/risk-sites/';
defined('VERSION_KEY') or define('VERSION_KEY', 'thrift_impl_risk_sites_version');
defined('VERSION_KEY') || define('VERSION_KEY', 'thrift_impl_risk_sites_version');
$version_path = $index_root_path . 'version/';
defined('SERVICE_ENV') or define('SERVICE_ENV', 'local');
defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'thrift_impl_risk_sites_main_web.php');
defined('APP_FOLDER') or define('APP_FOLDER', basename(__DIR__));
defined('SERVICE_ENV') || define('SERVICE_ENV', 'local');
defined('MAIN_WEB_CONFIG_FILE') || define('MAIN_WEB_CONFIG_FILE', 'thrift_impl_risk_sites_main_web.php');
defined('APP_FOLDER') || define('APP_FOLDER', basename(__DIR__));
/* 需要修改的参数>> */
\ No newline at end of file
......@@ -3,8 +3,8 @@
$index_root_path = '/data33/';
$app_package_path = $index_root_path . 'thrift_impl/';
$base_path = $origin_base_path = $index_root_path . 'thrift_impl/market-service-impl/';
defined('VERSION_KEY') or define('VERSION_KEY', 'thrift_impl_market_version');
defined('VERSION_KEY') || define('VERSION_KEY', 'thrift_impl_market_version');
$version_path = $index_root_path . 'version/';
defined('SERVICE_ENV') or define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'market_main_web.php');
defined('SERVICE_ENV') || define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') || define('MAIN_WEB_CONFIG_FILE', 'market_main_web.php');
/* 需要修改的参数>> */
\ No newline at end of file
......@@ -3,8 +3,8 @@
$index_root_path = '/data33/';
$app_package_path = $index_root_path . 'user_site/';
$base_path = $origin_base_path = $index_root_path . 'user_site/zhaobi/';
defined('VERSION_KEY') or define('VERSION_KEY', 'user_site_zhaobi_version');
defined('VERSION_KEY') || define('VERSION_KEY', 'user_site_zhaobi_version');
$version_path = $index_root_path . 'version/';
defined('SERVICE_ENV') or define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'zhaobi_main_web.php');
defined('SERVICE_ENV') || define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') || define('MAIN_WEB_CONFIG_FILE', 'zhaobi_main_web.php');
/* 需要修改的参数>> */
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment