From: Maxious Date: Thu, 18 Jul 2013 12:30:21 +0000 Subject: fix sitemap X-Git-Url: http://maxious.lambdacomplex.org/git/?p=disclosr.git&a=commitdiff&h=b90975751cde39ef8416878962ab6bff5de13ef9 --- fix sitemap Former-commit-id: d535c0ad88506027f2f39848b858342624aaa9a6 --- --- a/documents/sitemap.xml.php +++ b/documents/sitemap.xml.php @@ -6,7 +6,7 @@ echo '' . "\n"; echo " " . local_url() . "index.php1.0\n"; foreach (scandir("./") as $file) { - if (strpos($file, ".php") !== false && $file != "index.php" && $file != "sitemap.xml.php"&& $file != "viewDocument.php") + if (strpos($file, ".php") !== false && ($file != "index.php" && $file != "sitemap.xml.php"&& $file != "viewDocument.php")) { echo " " . local_url() . "$file0.6\n"; } }