X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;ds=sidebyside;f=web%2Fdispmoduleinfo.php;h=3906d3cc87257ca4261bfe4960d33c09a976d6c6;hb=735980539f488d6f6299ec710f4045abbb104d46;hp=b6f0817286c6b6c48bdbf31aa7e247071111b44e;hpb=d2c982b37f3c4373e99e7c60c19d048de02b5919;p=ccan
diff --git a/web/dispmoduleinfo.php b/web/dispmoduleinfo.php
index b6f08172..3906d3cc 100644
--- a/web/dispmoduleinfo.php
+++ b/web/dispmoduleinfo.php
@@ -8,25 +8,20 @@ $handle = sqlite3_open($db) or die("Could not open database");
$query = "select * from search where module=\"".$_GET['module']."\"";
$result = sqlite3_query($handle, $query) or die("Error in query: ".sqlite3_error($handle));
$row = sqlite3_fetch_array($result);
-
-if (!file_exists($repopath . $ccan_home_dir.$_GET['module']."/".$_GET['module'].".tar")) {
- chdir($repopath);
- exec("tar -cvvf ".$ccan_home_dir. $_GET['module']. "/". $_GET['module'].".tar ". $ccan_home_dir.$_GET['module'], $status);
- chdir("..");
-}
-
-if (!file_exists($repopath . $ccan_home_dir.$_GET['module']."/".$_GET['module']."_dep.tar")) {
- chdir($repopath);
- exec($create_dep_tar." ".$ccan_home_dir.$_GET['module'], $status);
- chdir("..");
-}
-
-
?>
@@ -42,7 +37,21 @@ if (!file_exists($repopath . $ccan_home_dir.$_GET['module']."/".$_GET['module'].
Author: >=$row['author'];?> |
+
+Dependencies: =$row['depends'];?> |
+
+
Description: =$row['desc'];?> |
+
+" . $msg . "Contact ccan admin. ";
+ exit();
+ }
+}
+?>