diff options
author | Remi Collet <fedora@famillecollet.com> | 2014-07-27 17:56:28 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2014-07-27 17:56:28 +0200 |
commit | 55d9cf592c48e2829296bc8889cd8c72c779b4e2 (patch) | |
tree | cc705596288d2f3a8ce0f9f1a4f6ac280c10fbc4 /rpm.php | |
parent | 54774535fd7e067722a2cacc87faf30214ab9f5e (diff) |
add report for Composer libraries
Diffstat (limited to 'rpm.php')
-rw-r--r-- | rpm.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -38,7 +38,9 @@ require 'include/main.php'; $what=(isset($_GET["what"]) ? $_GET["what"] : "%fedora"); $type=(isset($_GET["type"]) ? $_GET["type"] : "pecl"); - +if (!in_array($type, array('composer', 'pecl', 'pear', 'R'))) { + $type = 'pecl'; +} $ariane[] = array( 'url' => '#', 'text' => strtoupper($type). ' extensions in Fedora' @@ -246,6 +248,7 @@ try { case "pecl": $filter = 'php-pecl-%'; break; + case "composer": case "pear": $filter = 'php-%'; break; |