From 16d40d713b1d8d924ac20b542d344552a4c29648 Mon Sep 17 00:00:00 2001 From: Derek Jones Date: Fri, 10 Jul 2009 17:53:57 +0000 Subject: Fixed a case sensitive string replacement, simplified redundant string replacement --- system/libraries/Input.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'system/libraries') diff --git a/system/libraries/Input.php b/system/libraries/Input.php index 407990370..e7bf72779 100644 --- a/system/libraries/Input.php +++ b/system/libraries/Input.php @@ -656,11 +656,11 @@ class CI_Input { { // Images have a tendency to have the PHP short opening and closing tags every so often // so we skip those and only do the long opening tags. - $str = str_replace(array(''), array('<?php', '<?PHP', '<?', '?>'), $str); + $str = str_replace(array(''), array('<?', '?>'), $str); } /* -- cgit v1.2.3-24-g4f1b