From 26fba4676ffee5c03d9c7b99d31c9f230cc5c242 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Tue, 29 Jan 2008 18:59:12 +0000 Subject: fixed bug (#3331) with image destination path in image_process_ntpbm() --- system/libraries/Image_lib.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php index d9ed761c5..260075ecd 100644 --- a/system/libraries/Image_lib.php +++ b/system/libraries/Image_lib.php @@ -692,7 +692,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, 0777); + @chmod($this->full_dst_path, 0777); return TRUE; } -- cgit v1.2.3-24-g4f1b