blob: dfe413586554c2836f1507d257b373adc20fd8b4 [file] [log] [blame]
<?php
/*******************************************************************************
* Copyright (c) 2010 Eclipse Foundation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Wayne Beaton - initial API and implementation
*******************************************************************************/
header("Content-type: text/xml");
require_once($_SERVER['DOCUMENT_ROOT'] . "/eclipse.org-common/system/app.class.php");
$App = new App();
echo "<download-paths>\n";
$result = $App->eclipse_sql("select project_id, file_path from project_disk_space_usage");
while($row = mysql_fetch_assoc($result)) {
$id = $row['project_id'];
$path = $row['file_path'];
echo "\t<path projectId=\"$id\" path=\"$path\"/>\n";
}
echo "</download-paths>\n";
?>