diff --git a/htdocs/website/index.php b/htdocs/website/index.php index 7a8acf4e21b..bb683e00854 100644 --- a/htdocs/website/index.php +++ b/htdocs/website/index.php @@ -4149,7 +4149,7 @@ if ($action == 'editcss') { $htmlhelp = $langs->trans('RSSFeedDesc'); print $form->textwithpicto($langs->trans('RSSFeed'), $htmlhelp, 1, 'help', '', 0, 2, ''); print ''; - print '/wrapper.php?rss=1[&l=XX][&limit=123]'; + print '/wrapper.php?rss=1[&l=XX][&limit=99][&cachedelay=99]'; print ''; print ''; diff --git a/htdocs/website/samples/wrapper.php b/htdocs/website/samples/wrapper.php index f7127a3d815..abcea982bcc 100644 --- a/htdocs/website/samples/wrapper.php +++ b/htdocs/website/samples/wrapper.php @@ -35,6 +35,7 @@ $entity = GETPOSTINT('entity') ? GETPOSTINT('entity') : $conf->entity; $original_file = GETPOST("file", "alpha"); $l = GETPOST('l', 'aZ09'); $limit = GETPOSTINT('limit'); +$cachedelay = GETPOSTINT('cachedelay'); // The delay in second of the cache // Parameters for RSS $rss = GETPOST('rss', 'aZ09'); @@ -115,7 +116,6 @@ $refname = basename(dirname($original_file)."/"); if ($rss) { $format = 'rss'; $type = ''; - $cachedelay = 0; $filename = $original_file; $dir_temp = $conf->website->dir_temp;