login: userless handler call to obtain metadata
[minimedit.git] / sitemap.xml / index.php
index 0e68218fc972a001a6f4abf9d8603c0425bbd9dd..55c293ca9ed31d13e93fdde83a0757627711ff1a 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+if (!$User) return;
 header('Content-Type: application/atom+xml; charset=utf-8');
 print '<?xml version="1.0" encoding="utf-8"?>';
 $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'];