Редакция 695 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 695 | Редакция 698 | ||
---|---|---|---|
Строка 609... | Строка 609... | ||
609 | $rq =& $this->db->query($query); |
609 | $rq =& $this->db->query($query); |
610 | $rq->fetchInto($dist); |
610 | $rq->fetchInto($dist); |
611 | 611 | ||
612 | $show = "# Список репозиториев для ".$this->secure->checkStr($dist["distname"],1)." ".$this->secure->checkStr($dist["version"],1)." ".$this->secure->checkStr($dist["vname"],1)."\n"; |
612 | $show = "# Список репозиториев для ".$this->secure->checkStr($dist["distname"],1)." ".$this->secure->checkStr($dist["version"],1)." ".$this->secure->checkStr($dist["vname"],1)."\n"; |
613 | $show .= "# Этот sources.list сгенерирован при помощи ".$this->getEngineAttr('codename')." ".$this->getEngineAttr('version')."\n"; |
613 | $show .= "# Этот sources.list сгенерирован при помощи ".$this->getEngineAttr('codename')." ".$this->getEngineAttr('version')."\n"; |
614 | $show .= "# Адрес проекта: http://alex-w.org.ru/p/ant\n\n"; |
614 | $show .= "# Адрес проекта: http://alex-w.org.ru/p/antng/\n\n"; |
615 | 615 | ||
616 | // Извлекаем информацию о репозиториях и строим sources.list
|
616 | // Извлекаем информацию о репозиториях и строим sources.list
|
617 | if ($dist["type"]=="deb") { |
617 | if ($dist["type"]=="deb") { |
618 | // Базовый репозиторий
|
618 | // Базовый репозиторий
|
619 | $query = "SELECT * FROM ".$this->prefix."repository r "; |
619 | $query = "SELECT * FROM ".$this->prefix."repository r "; |