Skip to content

Commit

Permalink
fix display for daily zips in the wiki.
Browse files Browse the repository at this point in the history
  • Loading branch information
outchy committed Jan 11, 2013
1 parent 5295514 commit 26d2285
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions website/sourceforge/daily/index.php
Expand Up @@ -65,8 +65,10 @@ function GetWeeklyFileNames()

if ($_GET["xml"] == "yes") {
Header('HTTP/1.1 200 OK');
//Header("Access-Control-Allow-Origin: delphi-jedi.org");
Header("Access-Control-Allow-Origin: *");
Header("Access-Control-Allow-Origin: http://wiki.delphi-jedi.org");
Header("Access-Control-Allow-Methods: POST, GET, OPTIONS");
Header("Access-Control-Allow-Headers: X-PINGOTHER");
//Header("Access-Control-Allow-Origin: *");
Header("content-type: application/xml");
echo '<?xml version="1.0" encoding="utf-8"?>'."\n";
echo "<filelist>\n";
Expand Down

0 comments on commit 26d2285

Please sign in to comment.