Skip to content

Commit

Permalink
Update handler.php
Browse files Browse the repository at this point in the history
  • Loading branch information
song31 committed Jan 20, 2013
1 parent eea0bdd commit d4bee8e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions handler.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,12 @@ function process_image($file_path, $type) {
################################################################################
function process_zip($file_path) {
debug("process_zip: ".$file_path);

if (end_with($file_path, "/")) {
$file_path = substr($file_path, 0, -1);
debug("process_zip: ".$file_path);
}

$zip_handle = zip_open($file_path) or die("can't open $file_path: $php_errormsg");

while ($entry = zip_read($zip_handle)) {
Expand Down

0 comments on commit d4bee8e

Please sign in to comment.