commit | a142ccae1be732e7829edc766a3b264d13fe7ee3 | [log] [tgz] |
---|---|---|
author | Rick Ellis <rick.ellis@ellislab.com> | Fri Oct 17 05:12:49 2008 +0000 |
committer | Rick Ellis <rick.ellis@ellislab.com> | Fri Oct 17 05:12:49 2008 +0000 |
tree | 2b5b392e352d7d57b730bebd7e5fdd1de7aafa30 | |
parent | 457817d4ce790aa2614838b3fadfbf6de3b27c28 [diff] [blame] |
Fixed bug #4562. A path was not defined for NetPBM
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php index 8a68667..d7404af 100644 --- a/system/libraries/Image_lib.php +++ b/system/libraries/Image_lib.php
@@ -688,7 +688,7 @@ // we have to rename the temp file. copy ($this->dest_folder.'netpbm.tmp', $this->full_dst_path); unlink ($this->dest_folder.'netpbm.tmp'); - @chmod($dst_image, DIR_WRITE_MODE); + @chmod($this->full_dst_path, DIR_WRITE_MODE); return TRUE; }