@@ -101,7 +101,7 @@ discard block |
||
101 | 101 | } |
102 | 102 | |
103 | 103 | // Load the mime types |
104 | - $mimes =& get_mimes(); |
|
104 | + $mimes = & get_mimes(); |
|
105 | 105 | |
106 | 106 | // Only change the default MIME if we can find one |
107 | 107 | if (isset($mimes[$extension])) |
@@ -146,7 +146,7 @@ discard block |
||
146 | 146 | |
147 | 147 | if (ENVIRONMENT === 'testing') |
148 | 148 | { |
149 | - $CI =& get_instance(); |
|
149 | + $CI = & get_instance(); |
|
150 | 150 | $CI->output->set_header('Content-Type: '.$mime); |
151 | 151 | $CI->output->set_header('Content-Disposition: attachment; filename="'.$filename.'"'); |
152 | 152 | $CI->output->set_header('Expires: 0'); |
@@ -105,7 +105,7 @@ |
||
105 | 105 | ob_end_clean(); |
106 | 106 | } |
107 | 107 | |
108 | - throw new CIPHPUnitTestRedirectException('Redirect to ' . $uri, $code); |
|
108 | + throw new CIPHPUnitTestRedirectException('Redirect to '.$uri, $code); |
|
109 | 109 | } |
110 | 110 | } |
111 | 111 | } |
@@ -139,17 +139,17 @@ discard block |
||
139 | 139 | */ |
140 | 140 | public function __construct() |
141 | 141 | { |
142 | - $this->_allow_get_array = (config_item('allow_get_array') !== FALSE); |
|
143 | - $this->_enable_xss = (config_item('global_xss_filtering') === TRUE); |
|
144 | - $this->_enable_csrf = (config_item('csrf_protection') === TRUE); |
|
145 | - $this->_standardize_newlines = (bool) config_item('standardize_newlines'); |
|
142 | + $this->_allow_get_array = (config_item('allow_get_array') !== FALSE); |
|
143 | + $this->_enable_xss = (config_item('global_xss_filtering') === TRUE); |
|
144 | + $this->_enable_csrf = (config_item('csrf_protection') === TRUE); |
|
145 | + $this->_standardize_newlines = (bool) config_item('standardize_newlines'); |
|
146 | 146 | |
147 | - $this->security =& load_class('Security', 'core'); |
|
147 | + $this->security = & load_class('Security', 'core'); |
|
148 | 148 | |
149 | 149 | // Do we need the UTF-8 class? |
150 | 150 | if (UTF8_ENABLED === TRUE) |
151 | 151 | { |
152 | - $this->uni =& load_class('Utf8', 'core'); |
|
152 | + $this->uni = & load_class('Utf8', 'core'); |
|
153 | 153 | } |
154 | 154 | |
155 | 155 | // Sanitize global arrays |
@@ -429,7 +429,7 @@ discard block |
||
429 | 429 | |
430 | 430 | // Save cookie in Output object |
431 | 431 | // added by ci-phpunit-test |
432 | - $CI =& get_instance(); |
|
432 | + $CI = & get_instance(); |
|
433 | 433 | $output = $CI->output; |
434 | 434 | $output->_cookies[$prefix.$name][] = [ |
435 | 435 | 'value' => $value, |