nieuws/feed: header to allow js access from any domain
[minimedit.git] / nieuws / feed / index.php
index 00fa7ea3dcb585c642caee99ee2e85c7e9ae5230..f2c62afdb05d3466c5c1fa93777ecb883ca81d81 100644 (file)
@@ -1,5 +1,6 @@
 <?php
 header('Content-Type: application/atom+xml; charset=utf-8');
+header('Access-Control-Allow-Origin: *');
 print '<?xml version="1.0" encoding="utf-8"?>';
 $siteref = (empty($_SERVER['HTTPS']) ? 'http' : 'https') . '://' . $_SERVER['HTTP_HOST'];
 ?>