summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDerek Jones <derek.jones@ellislab.com>2010-03-05 17:22:44 +0100
committerDerek Jones <derek.jones@ellislab.com>2010-03-05 17:22:44 +0100
commit11b1e51f8df7a1e47d002a14a76748f6f629f988 (patch)
tree1aea1aeb08329d8143b3ff37040859f6e4297cc0
parentd4433348afe653a0472cbe4d023db883fd142d11 (diff)
no in helpers, updated security lib to use Security class instead of Input
-rw-r--r--system/helpers/security_helper.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/helpers/security_helper.php b/system/helpers/security_helper.php
index 1f0a62906..654cfd100 100644
--- a/system/helpers/security_helper.php
+++ b/system/helpers/security_helper.php
@@ -40,7 +40,7 @@ if ( ! function_exists('xss_clean'))
function xss_clean($str, $is_image = FALSE)
{
$CI =& get_instance();
- return $CI->input->xss_clean($str, $is_image);
+ return $CI->security->xss_clean($str, $is_image);
}
}
@@ -56,7 +56,7 @@ if ( ! function_exists('dohash'))
{
function dohash($str, $type = 'sha1')
{
- return $this->do_hash($str, $type);
+ return do_hash($str, $type);
}
}