Suppression du cache magpie
This commit is contained in:
parent
68e7633850
commit
fab73e1ecd
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user