diff options
| author | spiderr <spider@viovio.com> | 2012-03-21 09:48:18 -0400 |
|---|---|---|
| committer | spiderr <spider@viovio.com> | 2012-03-21 09:48:18 -0400 |
| commit | 2d6a082c77853efbe3cc1ddac0e378318bf9357e (patch) | |
| tree | 7d5fbc0320c7a48e1703bf51dc6c1160d9527108 | |
| parent | 1a1bffc569f8565d3c5d5e876ad8b2e198507e89 (diff) | |
| download | fisheye-2d6a082c77853efbe3cc1ddac0e378318bf9357e.tar.gz fisheye-2d6a082c77853efbe3cc1ddac0e378318bf9357e.tar.bz2 fisheye-2d6a082c77853efbe3cc1ddac0e378318bf9357e.zip | |
fix unlink in fisheye_process_directory
| -rw-r--r-- | upload_inc.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/upload_inc.php b/upload_inc.php index 4e6887f..462f21b 100644 --- a/upload_inc.php +++ b/upload_inc.php @@ -260,7 +260,7 @@ function fisheye_process_directory( $pDestinationDir, &$pParentGallery, $pRoot=F } } elseif( is_file( $scanFile['tmp_name'] ) ) { // unknown file type, let's be tidy and clean it up - unlink( $scanFile ); + unlink( $scanFile['tmp_name'] ); } $order += 10; } |
