cvs: pecl /phar/phar pharcommand.inc
| From: | Marcus Boerger | Date: | Fri, 21 Mar 2008 23:31:31 +0000 |
| Subject: | cvs: pecl /phar/phar pharcommand.inc | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-10001@lists.php.net to get a copy of this message | ||
helly Fri Mar 21 23:31:31 2008 UTC
Modified files:
/pecl/phar/phar pharcommand.inc
Log:
- Damn forgot to remove the debug code
http://cvs.php.net/viewvc.cgi/pecl/phar/phar/pharcommand.inc?r1=1.47&r2=1.48&diff_format=u
Index: pecl/phar/phar/pharcommand.inc
diff -u pecl/phar/phar/pharcommand.inc:1.47 pecl/phar/phar/pharcommand.inc:1.48
--- pecl/phar/phar/pharcommand.inc:1.47 Fri Mar 21 23:22:17 2008
+++ pecl/phar/phar/pharcommand.inc Fri Mar 21 23:31:30 2008
@@ -1384,7 +1384,7 @@
$mcount = 0;
$compalg = array('GZ'=>0, 'BZ2'=>0);
var_dump($phar);
-try {
+
foreach(new RecursiveIteratorIterator($phar) as $ent) {
$count++;
if ($ent->isCompressed()) {
@@ -1406,7 +1406,7 @@
$mcount++;
}
}
-} catch(Exception $e) {echo $e;}
+
$infos['Entries'] = $count;
$infos['Uncompressed-files'] = $ucount;
$infos['Compressed-files'] = $ccount;