# HG changeset patch # User Aleksej Bobylev # Date 1340969379 0 # Node ID 8585804d4b9a1281e23a3a81f7e456a0846e26e2 # Parent 58354eeb4cda0ce4233803d8f05405d320a0a023 get-feeds: fix php syntax (again) diff -r 58354eeb4cda -r 8585804d4b9a lib/get-feeds.php --- a/lib/get-feeds.php Fri Jun 29 11:23:39 2012 +0000 +++ b/lib/get-feeds.php Fri Jun 29 11:29:39 2012 +0000 @@ -24,11 +24,10 @@ $cache = '/var/cache/slitaz/website'; $entries = 4; // no follow all links, but hg commits - if ($feed == "wok.xml") { - $nofollow = "" - } else { - $nofollow = " rel='nofollow'" - } + if ($feed == "wok.xml") + $nofollow = ""; + else + $nofollow = " rel='nofollow'"; // have the page displayed even if any xml file if ( ! file_exists("$cache/$feed")) { echo "

\n
\n"; @@ -44,7 +43,7 @@ echo "

\n
\n