diff options
author | Michiel Vugteveen <michiel@it-can.nl> | 2012-02-29 14:15:40 +0100 |
---|---|---|
committer | Michiel Vugteveen <michiel@it-can.nl> | 2012-02-29 14:15:40 +0100 |
commit | 044e39df6febd2b59e6aacbdf45befba4f297005 (patch) | |
tree | 9170bbbb59f7c11b442c6f1566d4a0046d52c8e5 /system/libraries/Image_lib.php | |
parent | e2fc9af9fef1d3b00ecdf3341dd37ae6755be308 (diff) | |
parent | b692ccb2414928913ebd713a094fc3150db07495 (diff) |
updated branch
Diffstat (limited to 'system/libraries/Image_lib.php')
-rw-r--r-- | system/libraries/Image_lib.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/libraries/Image_lib.php b/system/libraries/Image_lib.php index 5ea830fb1..9826eabdd 100644 --- a/system/libraries/Image_lib.php +++ b/system/libraries/Image_lib.php @@ -251,7 +251,7 @@ class CI_Image_lib { } else { - if (function_exists('realpath') && @realpath($this->new_image) !== FALSE) + if (strpos($this->new_image, '/') === FALSE AND strpos($this->new_image, '\\') === FALSE) { $full_dest_path = str_replace('\\', '/', realpath($this->new_image)); } |