cvs: phpweb / error.php
| From: | Hannes Magnusson | Date: | Sat, 30 Jun 2007 16:53:47 +0000 |
| Subject: | cvs: phpweb / error.php | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-35854@lists.php.net to get a copy of this message | ||
bjori Sat Jun 30 16:53:47 2007 UTC
Modified files:
/phpweb error.php
Log:
Expand the /get/xx-5-LATEST support to include pecl and debug packages
http://cvs.php.net/viewvc.cgi/phpweb/error.php?r1=1.70&r2=1.71&diff_format=u
Index: phpweb/error.php
diff -u phpweb/error.php:1.70 phpweb/error.php:1.71
--- phpweb/error.php:1.70 Mon Jun 18 18:08:00 2007
+++ phpweb/error.php Sat Jun 30 16:53:47 2007
@@ -1,6 +1,6 @@
<?php
-// $Id: error.php,v 1.70 2007/06/18 18:08:00 bjori Exp $
+// $Id: error.php,v 1.71 2007/06/30 16:53:47 bjori Exp $
/*
@@ -129,10 +129,10 @@
if (preg_match("!^get/([^/]+)/from/([^/]+)(/mirror)?$!", $URI, $dlinfo)) {
$df = $dlinfo[1];
- if(strpos($df, "php-5-LATEST") !== false) {
+ if(strpos($df, "5-LATEST") !== false) {
include_once $_SERVER['DOCUMENT_ROOT'] . "/include/version.inc";
$df = str_replace("5-LATEST", $PHP_5_VERSION, $df);
- } elseif(strpos($df, "php-4-LATEST") !== false) {
+ } elseif(strpos($df, "4-LATEST") !== false) {
include_once $_SERVER['DOCUMENT_ROOT'] . "/include/version.inc";
$df = str_replace("4-LATEST", $PHP_4_VERSION, $df);
}