diff options
author | Andrey Andreev <narf@bofh.bg> | 2012-06-15 14:23:41 +0200 |
---|---|---|
committer | Andrey Andreev <narf@bofh.bg> | 2012-06-15 14:23:41 +0200 |
commit | e446ad337945b7839b73f13531b21ed16ece241e (patch) | |
tree | d4f9ada8aea117bed1230e767a8104aeabe2bb64 /system/helpers/security_helper.php | |
parent | 1922a885b40ef63cf0a5141eb8377d04e3bee172 (diff) |
Optimize encode_php_tags()
Diffstat (limited to 'system/helpers/security_helper.php')
-rw-r--r-- | system/helpers/security_helper.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/system/helpers/security_helper.php b/system/helpers/security_helper.php index 3e6e91435..7fcb18437 100644 --- a/system/helpers/security_helper.php +++ b/system/helpers/security_helper.php @@ -123,7 +123,7 @@ if ( ! function_exists('encode_php_tags')) */ function encode_php_tags($str) { - return str_replace(array('<?php', '<?PHP', '<?', '?>'), array('<?php', '<?PHP', '<?', '?>'), $str); + return str_replace(array('<?', '?>'), array('<?', '?>'), $str); } } |