Update autoinstall.class.php

bug fixed.
This commit is contained in:
포피플 2020-09-16 05:25:38 +09:00 committed by GitHub
parent 9d4fcee972
commit 51e62d4cb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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)