mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 17:21:39 +09:00
fix connection failed when view empty category, add list order column, add detecting change of package.inc.php
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8738 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
aa7b7de8f5
commit
b574bdffe9
17 changed files with 99 additions and 32 deletions
|
|
@ -229,6 +229,11 @@
|
|||
$lUpdateDoc = $xml_lUpdate->parse($buff);
|
||||
$updateDate = $lUpdateDoc->response->updatedate->body;
|
||||
|
||||
if (!$updateDate)
|
||||
{
|
||||
return $this->stop('msg_connection_fail');
|
||||
}
|
||||
|
||||
$oModel = &getModel('autoinstall');
|
||||
$item = $oModel->getLatestPackage();
|
||||
if(!$item || $item->updatedate < $updateDate || count($this->categories) < 1)
|
||||
|
|
@ -323,7 +328,7 @@
|
|||
}
|
||||
else
|
||||
{
|
||||
return $this->stop('Connection failed');
|
||||
return $this->stop('msg_connection_fail');
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue