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