609,7 → 609,7 |
$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); |
$show = "# Список репозиториев для ".$this->secure->checkStr($dist["distname"],1)." ".$this->secure->checkStr($dist["version"],1)." ".$this->secure->checkStr($dist["vname"],1)."\n\n"; |
|
// Извлекаем информацию о репозиториях и строим sources.list |
if ($dist["type"]=="deb") { |
625,6 → 625,7 |
$rq =& $this->db->query($query); |
$rq->fetchInto($base); |
// Формируем type proto://host/folder |
$show .= "# ".$this->secure->checkStr($base["rtype"],1)."\n"; |
$show .= $this->secure->checkStr($dist["type"],1)." ".$this->secure->checkStr($dist["proto"],1).$this->secure->checkStr($dist["rhost"],1).$this->secure->checkStr($dist["rfolder"],1); |
$dvname = str_replace("{DIST}",$this->secure->checkStr($dist["vcodename"],1),$this->secure->checkStr($dist["scheme"],1)); |
// Формируем distname |