htdocs: Fix SimplePie cache location

This commit is contained in:
Tim Gerundt 2012-09-23 12:00:06 +02:00
parent 865c0205e3
commit c1d4a81795
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ the latest sources in a zip or tgz archive</a> from the github website.</p>
$feed = new SimplePie(); $feed = new SimplePie();
$feed->set_feed_url('http://sourceforge.net/apps/trac/cppcheck/timeline?changeset=on&ticket=on&milestone=on&wiki=on&max=10&daysback=90&format=rss'); $feed->set_feed_url('http://sourceforge.net/apps/trac/cppcheck/timeline?changeset=on&ticket=on&milestone=on&wiki=on&max=10&daysback=90&format=rss');
$feed->set_cache_location('./site/simplepie/cache'); $feed->set_cache_location('../site/simplepie/cache');
$feed->init(); $feed->init();
print("<ul class=\"rssfeeditems\">\n"); print("<ul class=\"rssfeeditems\">\n");
foreach ($feed->get_items() as $item) { //for the last timeline items... foreach ($feed->get_items() as $item) { //for the last timeline items...