mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
상수처리 개선 및 버그수정
This commit is contained in:
parent
e3879ac634
commit
3b8b79acf1
6 changed files with 67 additions and 59 deletions
|
|
@ -104,16 +104,14 @@ 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/';
|
||||
$oModel = getAdminModel('autoinstall');
|
||||
$config = $oModel->getAutoInstallAdminModuleConfig();
|
||||
|
||||
$oAutoinstallModel = getModel('autoinstall');
|
||||
$params = array();
|
||||
$params["act"] = "getResourceapiLastupdate";
|
||||
$body = XmlGenerater::generate($params);
|
||||
$buff = FileHandler::getRemoteResource($download_server, $body, 3, "POST", "application/xml");
|
||||
$buff = FileHandler::getRemoteResource($config->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