From: Maxious Date: Sun, 12 Aug 2012 03:22:38 +0000 Subject: typo in sitemap X-Git-Url: https://maxious.lambdacomplex.org/git/?p=disclosr.git&a=commitdiff&h=87ea763513fed3d3279f5935cb02357fed1552ae --- typo in sitemap Former-commit-id: fa5509387cd2b50fb357ad3ec83c841ae21b6b45 --- --- a/getAgency.php +++ b/getAgency.php @@ -137,7 +137,7 @@ } } - $mode = "edit"; + $mode = "view"; $rowArray = object_to_array($obj); ksort($rowArray); if ($mode == "edit") { --- /dev/null +++ b/index.php @@ -1,1 +1,9 @@ + --- a/robots.txt +++ b/robots.txt @@ -3,3 +3,4 @@ User-agent: * Disallow: /admin/ +Sitemap: http://orgs.disclosurelo.gs/sitemap.xml.php --- a/sitemap.xml.php +++ b/sitemap.xml.php @@ -10,7 +10,6 @@ if (strpos($file, ".php") !== false && $file != "index.php" && $file != "sitemap.xml.php") echo " " . local_url() . "$file0.3\n"; } -echo ''; $db = $server->get_db('disclosr-agencies'); try { @@ -21,5 +20,6 @@ } catch (SetteeRestClientException $e) { setteErrorHandler($e); } +echo ''; ?>