summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
diff options
context:
space:
mode:
authorAndrew Mackrodt <andrewmackrodt@gmail.com>2011-12-11 00:42:07 +0100
committerAndrew Mackrodt <andrewmackrodt@gmail.com>2011-12-11 00:42:07 +0100
commit750ffb9f6d545772c7139b5ee0c1402241c6ceb2 (patch)
treefcdcab169b398941dfc68452d59c16c562c9881c /system/libraries/Image_lib.php
parent5cb1b5bfa3cf6aea8ea3106658a14ae53c2c8047 (diff)
Fix for Issue #538.
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 8902f524d..7f905128b 100644
--- a/system/libraries/Image_lib.php
+++ b/system/libraries/Image_lib.php
@@ -208,7 +208,7 @@ class CI_Image_lib {
}
else
{
- if (strpos($this->new_image, '/') === FALSE)
+ if (strpos($this->new_image, '/') === FALSE AND strpos($this->new_image, '\\') === FALSE)
{
$this->dest_folder = $this->source_folder;
$this->dest_image = $this->new_image;