diff options
| author | Nick Palmer <nick@sluggardy.net> | 2007-11-30 09:56:35 +0000 |
|---|---|---|
| committer | Nick Palmer <nick@sluggardy.net> | 2007-11-30 09:56:35 +0000 |
| commit | 695c66819789ece392865b442d5b36bf270cedba (patch) | |
| tree | 028aca862e920de1b881d5513f227db765484b7c | |
| parent | c409e742c55402757bf548bea632519618b20aa6 (diff) | |
| download | liberty-695c66819789ece392865b442d5b36bf270cedba.tar.gz liberty-695c66819789ece392865b442d5b36bf270cedba.tar.bz2 liberty-695c66819789ece392865b442d5b36bf270cedba.zip | |
Fix double include error when uploading a zip file with multiple images that have photoshop data in them.
| -rw-r--r-- | LibertyAttachable.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/LibertyAttachable.php b/LibertyAttachable.php index df99862..bd1b988 100644 --- a/LibertyAttachable.php +++ b/LibertyAttachable.php @@ -3,7 +3,7 @@ * Management of Liberty Content * * @package liberty - * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyAttachable.php,v 1.137 2007/11/19 19:24:58 nickpalmer Exp $ + * @version $Header: /cvsroot/bitweaver/_bit_liberty/LibertyAttachable.php,v 1.138 2007/11/30 09:56:35 nickpalmer Exp $ * @author spider <spider@steelsun.com> */ // +----------------------------------------------------------------------+ @@ -141,7 +141,7 @@ class LibertyAttachable extends LibertyContent { // Retrieve Photoshop IRB information from the JPEG file $IRB_array = get_Photoshop_IRB( $jpeg_header_data ); if( !empty( $exifHash['IFD0']['Software'] ) && preg_match( '/photoshop/i', $exifHash['IFD0']['Software'] ) ) { - include UTIL_PKG_PATH.'jpeg_metadata_tk/Photoshop_File_Info.php'; + require_once UTIL_PKG_PATH.'jpeg_metadata_tk/Photoshop_File_Info.php'; // Retrieve Photoshop File Info from the three previous arrays $psFileInfo = get_photoshop_file_info( $Exif_array, $XMP_array, $IRB_array ); |
