diff --git a/e107_admin/boot.php b/e107_admin/boot.php
index 0724311f1..84e126b2e 100644
--- a/e107_admin/boot.php
+++ b/e107_admin/boot.php
@@ -83,21 +83,22 @@ if(ADMIN && e_AJAX_REQUEST && varset($_GET['mode']) == 'addons' )
$tag = 'infopanel_'.$type;
$cache = e107::getCache();
- $cache->setMD5('_');
- if($text = $cache->retrieve($tag,180,true)) // check every 3 hours.
+ $feed = 'https://e107.org/feed/?limit=3&type='.$type;
+
+ if($text = $cache->retrieve($tag,180,true, true)) // check every 3 hours.
{
echo $text;
if(e_DEBUG === true)
{
- echo "Cached";
+ echo "Cached";
}
exit;
}
- if($data = e107::getXml()->getRemoteFile('https://e107.org/feed/?limit=3&type='.$type,3))
+ if($data = e107::getXml()->getRemoteFile($feed,3))
{
$rows = e107::getXml()->parseXml($data, 'advanced');
// print_a($rows);
@@ -128,7 +129,7 @@ if(ADMIN && e_AJAX_REQUEST && varset($_GET['mode']) == 'addons' )
echo $text;
- $cache->set($tag, $text, true);
+ $cache->set($tag, $text, true, null, true);
}
exit;