diff --git a/webapp/bootstrap/init.php b/webapp/bootstrap/init.php index dd88b9d..1e02ee2 100644 --- a/webapp/bootstrap/init.php +++ b/webapp/bootstrap/init.php @@ -94,8 +94,7 @@ define('EQUIPREWARD_PARAMETER', 152); //结算比例 define('DIAMONDTOCOIN_NUM', 153); //钻石换金币 require 'config_loader.php'; -function needSpecConfig($channel) +function getConfigBaseDir() { - return $channel == 6001; + return '../res/'; } - diff --git a/webapp/controller/UnitTestController.class.php b/webapp/controller/UnitTestController.class.php new file mode 100644 index 0000000..0f28385 --- /dev/null +++ b/webapp/controller/UnitTestController.class.php @@ -0,0 +1,25 @@ +