Хранилища Subversion ant

Редакция

Редакция 392 | К новейшей редакции | Содержимое файла | Последнее изменение | Открыть журнал | RSS

Редакция Автор № строки Строка
390 alex-w 1
<?php
2
 
3
/**
4
 *  
5
 *  Codename: ant-ng - generator of sources.list for Debian and
6
 *  distributives, based on Debian
7
 *  http://alex-w.org.ru/p/antng/
8
 *
9
 *  Copyright (c) 2009 Alexander Wolf
10
 *  Dual licensed under the MIT and GNU LGPL licenses.
11
 *  http://alex-w.org.ru/p/antng/license
12
 *
13
 */
14
 
15
require_once dirname(__FILE__)."/init.php";
16
 
17
$ID = $_GET["reqID"];
18
 
19
list($step,$dist,$vers,$reps) = split(":",$ID);
20
$stepId = $secure->checkInt($step);
21
$distId = $secure->checkInt($dist);
22
$versId = $secure->checkInt($vers);
23
if ($reps!="") {
24
    $repsIDs = array();
25
    $repsIDs = split("-",$reps);
26
}
27
 
28
switch($stepId) {
29
    case '1':
30
        $result = $core->showDistributionList("dist");
31
        break;
32
}
33
 
34
print $result;
35
 
36
?>