mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
상수 정리
This commit is contained in:
parent
2e523370d7
commit
1f90c2e7c3
5 changed files with 73 additions and 26 deletions
|
|
@ -104,11 +104,16 @@ class adminAdminView extends admin
|
|||
return;
|
||||
}
|
||||
|
||||
$oModuleModel = getModel('module');
|
||||
$module_info = $oModuleModel->getModuleConfig('autoinstall');
|
||||
$location_site = $module_info->location_site ? $module_info->location_site : 'https://xe1.xpressengine.com/';
|
||||
$download_server = $module_info->download_server ? $module_info->download_server : 'https://download.xpressengine.com/';
|
||||
|
||||
$oAutoinstallModel = getModel('autoinstall');
|
||||
$params = array();
|
||||
$params["act"] = "getResourceapiLastupdate";
|
||||
$body = XmlGenerater::generate($params);
|
||||
$buff = FileHandler::getRemoteResource(_XE_DOWNLOAD_SERVER_, $body, 3, "POST", "application/xml");
|
||||
$buff = FileHandler::getRemoteResource($download_server, $body, 3, "POST", "application/xml");
|
||||
$xml_lUpdate = new XmlParser();
|
||||
$lUpdateDoc = $xml_lUpdate->parse($buff);
|
||||
$updateDate = $lUpdateDoc->response->updatedate->body;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue