summaryrefslogtreecommitdiffstats
path: root/system/libraries/Upload.php
diff options
context:
space:
mode:
authorPhil Sturgeon <email@philsturgeon.co.uk>2011-04-06 23:59:37 +0200
committerPhil Sturgeon <email@philsturgeon.co.uk>2011-04-06 23:59:37 +0200
commiteda33d5ece128fcc11f6b46df38b3bfd76eb74ad (patch)
tree0b5e72e236bde4ebd59c246e3cfd458baccb529e /system/libraries/Upload.php
parent05fa61144667c85b0463f7e8baa6af00aa195dc6 (diff)
parenta6a7ef10a755a718008fbee4b01b80a682b89c39 (diff)
Made Environment Support optional. Comment out or delete the constant to stop environment checks.
Diffstat (limited to 'system/libraries/Upload.php')
-rw-r--r--system/libraries/Upload.php6
1 files changed, 0 insertions, 6 deletions
diff --git a/system/libraries/Upload.php b/system/libraries/Upload.php
index 3cd2e4fc1..e80049fa4 100644
--- a/system/libraries/Upload.php
+++ b/system/libraries/Upload.php
@@ -875,12 +875,6 @@ class CI_Upload {
}
$CI =& get_instance();
-
- if ( ! isset($CI->security))
- {
- $CI->load->library('security');
- }
-
return $CI->security->xss_clean($data, TRUE);
}