summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
diff options
context:
space:
mode:
authorRick Ellis <rick.ellis@ellislab.com>2008-10-17 07:12:49 +0200
committerRick Ellis <rick.ellis@ellislab.com>2008-10-17 07:12:49 +0200
commita142ccae1be732e7829edc766a3b264d13fe7ee3 (patch)
tree2b5b392e352d7d57b730bebd7e5fdd1de7aafa30 /system/libraries/Image_lib.php
parent457817d4ce790aa2614838b3fadfbf6de3b27c28 (diff)
Fixed bug #4562. A path was not defined for NetPBM
Diffstat (limited to 'system/libraries/Image_lib.php')
-rw-r--r--system/libraries/Image_lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php
index 8a6866753..d7404afcb 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -688,7 +688,7 @@ class CI_Image_lib {
// 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;
}