From a142ccae1be732e7829edc766a3b264d13fe7ee3 Mon Sep 17 00:00:00 2001 From: Rick Ellis Date: Fri, 17 Oct 2008 05:12:49 +0000 Subject: Fixed bug #4562. A path was not defined for NetPBM --- system/libraries/Image_lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'system/libraries') 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; } -- cgit v1.2.3-24-g4f1b