cvs: pearweb /public_html get
| From: | Stig Bakken | Date: | Wed, 26 Dec 2001 03:37:02 +0000 |
| Subject: | cvs: pearweb /public_html get | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-1690@lists.php.net to get a copy of this message | ||
ssb Tue Dec 25 22:37:02 2001 EDT
Modified files:
/pearweb/public_html get
Log:
* add another arg for getting a specific file
Index: pearweb/public_html/get
diff -u pearweb/public_html/get:1.2 pearweb/public_html/get:1.3
--- pearweb/public_html/get:1.2 Sun Dec 23 12:22:32 2001
+++ pearweb/public_html/get Tue Dec 25 22:37:02 2001
@@ -1,4 +1,4 @@
-<?php
+<?php // -*- PHP -*-
/*
Pear package downloader
Usage:
@@ -36,5 +36,6 @@
$opts = explode('/', $PATH_INFO);
$package = $opts[1];
$version = (isset($opts[2])) ? $opts[2] : null;
+$file = (isset($opts[2])) ? $opts[2] : null;
release::HTTPdownload($package, $version);
?>