From 51e62d4cb13ebd8ddf87f55004257e307543fcc1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=ED=8F=AC=ED=94=BC=ED=94=8C?= Date: Wed, 16 Sep 2020 05:25:38 +0900 Subject: [PATCH] Update autoinstall.class.php bug fixed. --- modules/autoinstall/autoinstall.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/autoinstall/autoinstall.class.php b/modules/autoinstall/autoinstall.class.php index a4ffecbde..c25636f61 100644 --- a/modules/autoinstall/autoinstall.class.php +++ b/modules/autoinstall/autoinstall.class.php @@ -47,8 +47,8 @@ class XmlGenerater $oModuleModel = getModel('module'); $module_info = $oModuleModel->getModuleConfig('autoinstall'); - $location_site = $module_info->location_site; - $download_server = $module_info->download_server; + $location_site = $module_info->location_site ? : 'https://xe1.xpressengine.com/'; + $download_server = $module_info->download_server ? : 'https://download.xpressengine.com/'; $buff = FileHandler::getRemoteResource($download_server, $body, 3, "POST", "application/xml", array(), array(), array(), $request_config); if(!$buff)