Редакция 688 | Весь файл | Не учитывать пробелы | Содержимое файла | Авторство | Последнее изменение | Открыть журнал | RSS
Редакция 688 | Редакция 690 | ||
---|---|---|---|
Строка 608... | Строка 608... | ||
608 | $query .= "WHERE d.dist_id='".$data["dist_id"]."' AND v.version_id='".$data["version_id"]."'"; |
608 | $query .= "WHERE d.dist_id='".$data["dist_id"]."' AND v.version_id='".$data["version_id"]."'"; |
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 сгенерирован при помощи ".$core->getEngineAttr('codename')." ".$core->getEngineAttr('version')."\n\n"; |
613 | $show .= "# Этот sources.list сгенерирован при помощи ".$this->getEngineAttr('codename')." ".$this->getEngineAttr('version')."\n\n"; |
614 | 614 | ||
615 | // Извлекаем информацию о репозиториях и строим sources.list
|
615 | // Извлекаем информацию о репозиториях и строим sources.list
|
616 | if ($dist["type"]=="deb") { |
616 | if ($dist["type"]=="deb") { |
617 | // Базовый репозиторий
|
617 | // Базовый репозиторий
|
618 | $query = "SELECT * FROM ".$this->prefix."repository r "; |
618 | $query = "SELECT * FROM ".$this->prefix."repository r "; |