Хранилища Subversion ant

Редакция

Авторство | Последнее изменение | Открыть журнал | Скачать | RSS

<?php

/**
 *  
 *  Codename: ant-ng - generator of sources.list for Debian and
 *  distributives, based on Debian
 *  http://alex-w.org.ru/p/antng/
 *
 *  Copyright (c) 2009 Alexander Wolf
 *  Dual licensed under the MIT and GNU LGPL licenses.
 *  http://alex-w.org.ru/p/antng/license
 *
 */


require_once dirname(__FILE__)."/init.php";

$ID = $_GET["reqID"];

list($step,$dist,$vers,$reps) = split(":",$ID);
$stepId = $secure->checkInt($step);
$distId = $secure->checkInt($dist);
$versId = $secure->checkInt($vers);
if ($reps!="") {
    $repsIDs = array();
    $repsIDs = split("-",$reps);
}

switch($stepId) {
    case '1':
        $result = $core->showDistributionList("dist");
        break;
}

print $result;

?>