summaryrefslogtreecommitdiffstats
path: root/system/libraries
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-12-14 15:07:50 +0100
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-12-14 15:07:50 +0100
commitffa86e89fbcaeb8726089e35c3c5ab5b01214b9c (patch)
tree3d13cff8a7a522b1be0813a10686489f93cee11e /system/libraries
parent5cb1b5bfa3cf6aea8ea3106658a14ae53c2c8047 (diff)
parentc7f67e99ff9ea55945537bc89033adc39997c678 (diff)
Merge pull request #766 from andrewmackrodt/2.1-stable
Fixed issue #538: CI_Image_lib->new_image doesn't recognise backslashes
Diffstat (limited to 'system/libraries')
-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;