[geeklog-cvs] geeklog: Spelling, Formatting
geeklog-cvs at lists.geeklog.net
geeklog-cvs at lists.geeklog.net
Tue Mar 31 11:02:07 EDT 2009
details: http://project.geeklog.net/cgi-bin/hgweb.cgi/rev/c0bb15d51a63
changeset: 6881:c0bb15d51a63
user: jcarlson <justin.carlson at gmail.com>
date: Tue Mar 31 10:01:30 2009 -0500
description:
Spelling, Formatting
diffstat:
1 file changed, 13 insertions(+), 3 deletions(-)
system/classes/unpacker.class.php | 16 +++++++++++++---
diffs (40 lines):
diff -r 15db5ecc0f2d -r c0bb15d51a63 system/classes/unpacker.class.php
--- a/system/classes/unpacker.class.php Tue Mar 31 09:47:35 2009 -0500
+++ b/system/classes/unpacker.class.php Tue Mar 31 10:01:30 2009 -0500
@@ -45,7 +45,17 @@
// mime types ( these are not very reliable, varies browser to browser )
// for the best results, pass the real filename as well as the mime type
- var $mime_def = array('application/zip' => 'zip', 'application/x-zip' => 'zip', 'application/x-zip-compressed' => 'zip', 'multipart/x-zip' => 'zip', 'application/gzip' => 'tar', 'application/tar' => 'tar', 'application/x-tar' => 'tar', 'application/x-gzip' => 'tar', 'application/octet-stream' => 'tar', 'application/x-compress' => 'tar', 'application/x-compressed' => 'tar');
+ var $mime_def = array('application/zip' => 'zip',
+ 'application/x-zip' => 'zip',
+ 'application/x-zip-compressed' => 'zip',
+ 'multipart/x-zip' => 'zip',
+ 'application/gzip' => 'tar',
+ 'application/tar' => 'tar',
+ 'application/x-tar' => 'tar',
+ 'application/x-gzip' => 'tar',
+ 'application/octet-stream' => 'tar',
+ 'application/x-compress' => 'tar',
+ 'application/x-compressed' => 'tar');
var $file = null; // archive name
var $filesize = null; // archive size (in bytes)
@@ -193,7 +203,7 @@
// use Pear Archive_Zip
require_once 'Archive/Zip.php';
$this->archive = new Archive_Zip($this->file);
- // unfortunaty, we can't tell if it succeeded
+ // unfortunately, we can't tell if it succeeded
}
@@ -213,7 +223,7 @@
require_once 'Archive/Tar.php';
$this->archive = new Archive_Tar($this->file, $this->comp);
- // unfortunaty, we can't tell if it succeeded
+ // unfortunately, we can't tell if it succeeded
return ($this->archive);
}
More information about the geeklog-cvs
mailing list