cvs: peclweb /public_html release-upload.php
| From: | Wez Furlong | Date: | Fri, 10 Sep 2004 08:42:43 +0000 |
| Subject: | cvs: peclweb /public_html release-upload.php | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1806@lists.php.net to get a copy of this message | ||
wez Fri Sep 10 04:42:43 2004 EDT
Modified files:
/peclweb/public_html release-upload.php
Log:
use the actual filename...
http://cvs.php.net/diff.php/peclweb/public_html/release-upload.php?r1=1.33&r2=1.34&ty=u
Index: peclweb/public_html/release-upload.php
diff -u peclweb/public_html/release-upload.php:1.33 peclweb/public_html/release-upload.php:1.34
--- peclweb/public_html/release-upload.php:1.33 Fri Sep 10 04:41:23 2004
+++ peclweb/public_html/release-upload.php Fri Sep 10 04:42:42 2004
@@ -15,7 +15,7 @@
+----------------------------------------------------------------------+
| Authors: |
+----------------------------------------------------------------------+
- $Id: release-upload.php,v 1.33 2004/09/10 08:41:23 wez Exp $
+ $Id: release-upload.php,v 1.34 2004/09/10 08:42:42 wez Exp $
*/
auth_require();
@@ -84,7 +84,7 @@
$tar = new Archive_Tar($distfile);
$contains_C = false;
foreach ($tar->listContent() as $file_in_tar) {
- if (substr($file_in_tar, -2) == ".c") {
+ if (substr($file_in_tar['filename'], -2) == ".c") {
$contains_C = true;
break;
}