mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Remove reliance on XeXmlParser in admin module
This commit is contained in:
parent
da584bb40c
commit
2830632a93
1 changed files with 2 additions and 2 deletions
|
|
@ -185,8 +185,8 @@ class Dashboard extends Base
|
||||||
$params["act"] = "getResourceapiLastupdate";
|
$params["act"] = "getResourceapiLastupdate";
|
||||||
$body = \XmlGenerater::generate($params);
|
$body = \XmlGenerater::generate($params);
|
||||||
$buff = FileHandler::getRemoteResource($config->download_server, $body, 3, "POST", "application/xml");
|
$buff = FileHandler::getRemoteResource($config->download_server, $body, 3, "POST", "application/xml");
|
||||||
$lUpdateDoc = \Rhymix\Framework\Parsers\XEXMLParser::loadXMLString($buff);
|
$lUpdateDoc = simplexml_load_string($buff);
|
||||||
$updateDate = $lUpdateDoc->response->updatedate->body;
|
$updateDate = trim($lUpdateDoc->updatedate);
|
||||||
|
|
||||||
if(!$updateDate)
|
if(!$updateDate)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue