提交
This commit is contained in:
@@ -41,7 +41,6 @@ class Base extends BaseController
|
|||||||
// 网站配置信息获取
|
// 网站配置信息获取
|
||||||
if (!file_exists(app()->getRootPath().'data/config.json')) {
|
if (!file_exists(app()->getRootPath().'data/config.json')) {
|
||||||
$domain = $_SERVER['HTTP_HOST'];
|
$domain = $_SERVER['HTTP_HOST'];
|
||||||
$domain ='evisa.hkpgsow.cn';
|
|
||||||
$web_config = Httpcurl::request(GET_WEB_CONFIG_URL . MODEL . '/domain/' . $domain, 'get');
|
$web_config = Httpcurl::request(GET_WEB_CONFIG_URL . MODEL . '/domain/' . $domain, 'get');
|
||||||
if ($web_config[3]) {
|
if ($web_config[3]) {
|
||||||
abort(500, '网站配置信息获取失败');
|
abort(500, '网站配置信息获取失败');
|
||||||
|
|||||||
Reference in New Issue
Block a user