Suppression du cache magpie

This commit is contained in:
Michael RICOIS 2011-05-19 15:19:14 +00:00
parent 68e7633850
commit fab73e1ecd

View File

@ -242,7 +242,7 @@ class IdentiteController extends Zend_Controller_Action
$url = 'http://news.google.fr/news?hl=fr&ned=fr&q='.
urlencode($session->getRaisonSociale()).'&output=rss';
define('MAGPIE_CACHE_ON', false);
require_once ('magpierss/rss_fetch.inc');
$rss = fetch_rss($url);
$items = array_slice($rss->items, 0, 5);