]> git.ozlabs.org Git - ccan/blobdiff - web/dispmoduleinfo.php
merge
[ccan] / web / dispmoduleinfo.php
index b0aba20e0097b4694b92f3992b122ec5523abee6..3906d3cc87257ca4261bfe4960d33c09a976d6c6 100644 (file)
@@ -13,13 +13,13 @@ $row = sqlite3_fetch_array($result);
 <tr align="center" bgcolor="FFFFCC">
 <td width="50%">
        <?php 
-               if(file_exists($tar_dir . $_GET['module']."_dependencies.tar"))
+               if(file_exists($tar_dir . $_GET['module'].".tar"))
                        echo '<a href='. $tar_dir . $_GET['module'] . '.tar>Download</a>';
        ?>
 <td>
        <?php 
-               if(file_exists($tar_dir . $_GET['module']."_dependencies.tar"))
-                       echo '<a href='. $tar_dir . $_GET['module'] . '_dependencies.tar>Download Dependencies</a>';
+               if(file_exists($tar_dir . $_GET['module']."_with_deps.tar"))
+                       echo '<a href='. $tar_dir . $_GET['module'] . '_with_deps.tar>Download Dependencies</a>';
        ?>
 </td>
 </tr>
@@ -54,4 +54,4 @@ function checkerror($status, $msg)
                    exit();
        }
 } 
-?>
\ No newline at end of file
+?>