cvs: pearweb /public_html package-info.php
| From: | Tobias Schlitt | Date: | Wed, 19 Jan 2005 18:22:14 +0000 |
| Subject: | cvs: pearweb /public_html package-info.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-28688@lists.php.net to get a copy of this message | ||
toby Wed Jan 19 13:22:14 2005 EDT
Modified files:
/pearweb/public_html package-info.php
Log:
* Fixed target URL for 'action' and 'version' URL params.
http://cvs.php.net/diff.php/pearweb/public_html/package-info.php?r1=1.86&r2=1.87&ty=u
Index: pearweb/public_html/package-info.php
diff -u pearweb/public_html/package-info.php:1.86 pearweb/public_html/package-info.php:1.87
--- pearweb/public_html/package-info.php:1.86 Mon Jan 17 13:34:59 2005
+++ pearweb/public_html/package-info.php Wed Jan 19 13:22:13 2005
@@ -16,7 +16,7 @@
| Authors: Martin Jansen <mj@php.net> |
| Tomas V.V.Cox <cox@idecnet.com> |
+----------------------------------------------------------------------+
- $Id: package-info.php,v 1.86 2005/01/17 18:34:59 toby Exp $
+ $Id: package-info.php,v 1.87 2005/01/19 18:22:13 toby Exp $
*/
require_once 'Damblan/Trackback.php';
@@ -126,7 +126,12 @@
$url .= 'package/';
}
$url .= $params['package|pacid'];
-
+if ($action != 'trackbacks') {
+ $url .= '/'.$action;
+}
+if (!empty($version)) {
+ $url .= '/'.$version;
+}
// Get trackback autodiscovery code
$tmpTrackback = Services_Trackback::create(array(
'id' => $name,