/branches/ant/0.9.x/get.php |
---|
17,8 → 17,6 |
$distID = $secure->checkInt($_POST["d"]); |
$versID = $secure->checkInt($_POST["v"]); |
phpinfo(); |
$request = array(); |
$request["dist_id"] = $distID; |
$request["version_id"] = $versID; |
29,6 → 27,7 |
$request["repository"][$i] = $_POST["repository"][$i]; |
} |
header("content-type: text/plain\n\n"); |
print_r($request); |
$r = $core->showSourcesList($request); |
echo $r; |
/branches/ant/0.9.x/lib/core.php |
---|
608,7 → 608,6 |
$rq =& $this->db->query($query); |
$rq->fetchInto($dist); |
header("content-type: text/plain\n\n"); |
$show = "# Список репозиториев для ".$this->secure->checkStr($dist["distname"],1)." ".$this->secure->checkStr($dist["version"],1)." ".$this->secure->checkStr($dist["vname"],1)."\n\n"; |
// Извлекаем информацию о репозиториях и строим sources.list |