Update of /cvsroot/phpwiki/phpwiki/lib In directory usw-pr-cvs1:/tmp/cvs-serv24559/lib Modified Files: ziplib.php Log Message: Jeff emerges from his hole long enough to fix a trivial bug which causes trouble when trying to restore a wiki from a zip archive which uses the 'binary' type MIME encoding. This is only pertinent for zip archives generated by certain old beta versions of phpwiki. Index: ziplib.php =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/lib/ziplib.php,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -r1.2 -r1.3 *** ziplib.php 2001年01月01日 23:13:32 1.2 --- ziplib.php 2001年02月06日 23:16:31 1.3 *************** *** 672,676 **** if ($encoding == 'quoted-printable') $data = QuotedPrintableDecode($data); ! else if ($encoding && $encoding == 'binary') die("Unknown encoding type: $encoding"); --- 672,676 ---- if ($encoding == 'quoted-printable') $data = QuotedPrintableDecode($data); ! else if ($encoding && $encoding != 'binary') die("Unknown encoding type: $encoding");