Commit 9f364f87 authored by tufengqi's avatar tufengqi

base file rename

parent 8c99f7b6
...@@ -2,5 +2,6 @@ ...@@ -2,5 +2,6 @@
require_once $GLOBALS['GLOBAL_YII_SYSTEM_APP'] . 'vendor/autoload.php'; require_once $GLOBALS['GLOBAL_YII_SYSTEM_APP'] . 'vendor/autoload.php';
require_once $base_path . 'vendor/autoload.php'; require_once $base_path . 'vendor/autoload.php';
require_once $GLOBALS['GLOBAL_YII_SYSTEM_APP'] . 'vendor/yiisoft/yii2/Yii.php'; require_once $GLOBALS['GLOBAL_YII_SYSTEM_APP'] . 'vendor/yiisoft/yii2/Yii.php';
\fpf\response\ResponseMsg::setDefaultHeader($header_arr);
$config = require $app_package_path . 'app_config/' . MAIN_WEB_CONFIG_FILE; $config = require $app_package_path . 'app_config/' . MAIN_WEB_CONFIG_FILE;
(new yii\web\Application($config))->run(); (new yii\web\Application($config))->run();
\ No newline at end of file
<?php <?php
require __DIR__ . '/devops-basic.php'; require __DIR__ . '/common-basic.php';
require dirname(dirname(__DIR__)) . '/VersionApp.php'; require dirname(dirname(__DIR__)) . '/VersionApp.php';
require $base_path . 'vendor/system/yiiswoft/SwoftChannel.php';
require dirname(dirname(__DIR__)) . '/RunApp.php'; require dirname(dirname(__DIR__)) . '/RunApp.php';
\ No newline at end of file
<?php <?php
/* 需要修改的参数<< */ /* 需要修改的参数<< */
$index_root_path = '/home/work/data/'; $index_root_path = '/data33/';
$app_package_path = $index_root_path . 'inner_site/'; $app_package_path = $index_root_path . 'inner_site/';
$base_path = $origin_base_path = $index_root_path . 'inner_site/devops/'; $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') or define('VERSION_KEY', 'inner_site_devops_version');
......
<?php <?php
require __DIR__ . '/devops-basic.php'; require __DIR__ . '/common-basic.php';
require dirname(dirname(__DIR__)) . '/VersionApp.php'; require dirname(dirname(__DIR__)) . '/VersionApp.php';
require dirname(dirname(__DIR__)) . '/RunApp.php'; require dirname(dirname(__DIR__)) . '/RunApp.php';
\ No newline at end of file
<?php <?php
require __DIR__ . '/market-basic.php'; require __DIR__ . '/common-basic.php';
require dirname(dirname(__DIR__)) . '/VersionApp.php'; require dirname(dirname(__DIR__)) . '/VersionApp.php';
require $base_path . 'vendor/system/yiiswoft/SwoftChannel.php'; require $base_path . 'vendor/system/yiiswoft/SwoftChannel.php';
require dirname(dirname(__DIR__)) . '/RunApp.php'; require dirname(dirname(__DIR__)) . '/RunApp.php';
\ No newline at end of file
<?php
/* 需要修改的参数<< */
$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');
$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');
/* 需要修改的参数>> */
\ No newline at end of file
<?php
require __DIR__ . '/common-basic.php';
require dirname(dirname(__DIR__)) . '/VersionApp.php';
require $base_path . 'vendor/system/yiiswoft/SwoftChannel.php';
require dirname(dirname(__DIR__)) . '/RunApp.php';
\ No newline at end of file
<?php <?php
require __DIR__ . '/risk-basic.php'; require __DIR__ . '/common-basic.php';
require dirname(dirname(__DIR__)) . '/VersionApp.php'; require dirname(dirname(__DIR__)) . '/VersionApp.php';
require dirname(dirname(__DIR__)) . '/RunApp.php'; require dirname(dirname(__DIR__)) . '/RunApp.php';
\ No newline at end of file
<?php
require __DIR__ . '/risk-basic.php';
require dirname(dirname(__DIR__)) . '/VersionApp.php';
require_once $GLOBALS['GLOBAL_YII_SYSTEM_APP'] . 'vendor/autoload.php';
require_once $base_path . 'vendor/autoload.php';
require_once $GLOBALS['GLOBAL_YII_SYSTEM_APP'] . 'vendor/yiisoft/yii2/Yii.php';
$config = require $app_package_path . 'app_config/' . MAIN_WEB_CONFIG_FILE;
\ No newline at end of file
...@@ -5,6 +5,6 @@ $app_package_path = $index_root_path . 'user_site/'; ...@@ -5,6 +5,6 @@ $app_package_path = $index_root_path . 'user_site/';
$base_path = $origin_base_path = $index_root_path . 'user_site/zhaobi/'; $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') or define('VERSION_KEY', 'user_site_zhaobi_version');
$version_path = $index_root_path . 'version/'; $version_path = $index_root_path . 'version/';
defined('SERVICE_ENV') or define('SERVICE_ENV', 'local'); defined('SERVICE_ENV') or define('SERVICE_ENV', 'test');
defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'zhaobi_main_web.php'); defined('MAIN_WEB_CONFIG_FILE') or define('MAIN_WEB_CONFIG_FILE', 'zhaobi_main_web.php');
/* 需要修改的参数>> */ /* 需要修改的参数>> */
\ No newline at end of file
<?php <?php
require __DIR__ . '/zhaobi-basic.php'; require __DIR__ . '/common-basic.php';
require dirname(dirname(__DIR__)) . '/VersionApp.php'; require dirname(dirname(__DIR__)) . '/VersionApp.php';
require $base_path . 'vendor/system/yiiswoft/SwoftChannel.php'; require $base_path . 'vendor/system/yiiswoft/SwoftChannel.php';
require dirname(dirname(__DIR__)) . '/RunApp.php'; require dirname(dirname(__DIR__)) . '/RunApp.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