summaryrefslogtreecommitdiffstats
path: root/system/helpers/cookie_helper.php
diff options
context:
space:
mode:
authorAndrey Andreev <narf@bofh.bg>2012-03-13 11:10:12 +0100
committerAndrey Andreev <narf@bofh.bg>2012-03-13 11:10:12 +0100
commit60138567c58dd924e2240973e34f0e3903a7ef2b (patch)
tree533c1dd40f69a534c0b03e8c327011427e458bd8 /system/helpers/cookie_helper.php
parent7203d54604a372fd8dd0b30bd8d4cdbd0af738bc (diff)
parentdbf4a5ad7b279b2833484e30f1168032cea9b7d3 (diff)
Merge upstream branch
Diffstat (limited to 'system/helpers/cookie_helper.php')
-rw-r--r--system/helpers/cookie_helper.php7
1 files changed, 2 insertions, 5 deletions
diff --git a/system/helpers/cookie_helper.php b/system/helpers/cookie_helper.php
index af2e1df80..38a2f78fc 100644
--- a/system/helpers/cookie_helper.php
+++ b/system/helpers/cookie_helper.php
@@ -2,7 +2,7 @@
/**
* CodeIgniter
*
- * An open source application development framework for PHP 5.1.6 or newer
+ * An open source application development framework for PHP 5.2.4 or newer
*
* NOTICE OF LICENSE
*
@@ -43,7 +43,6 @@
* Accepts six parameter, or you can submit an associative
* array in the first parameter containing all the values.
*
- * @access public
* @param mixed
* @param string the value of the cookie
* @param string the number of seconds until expiration
@@ -67,7 +66,6 @@ if ( ! function_exists('set_cookie'))
/**
* Fetch an item from the COOKIE array
*
- * @access public
* @param string
* @param bool
* @return mixed
@@ -77,8 +75,7 @@ if ( ! function_exists('get_cookie'))
function get_cookie($index = '', $xss_clean = FALSE)
{
$CI =& get_instance();
- $prefix = (isset($_COOKIE[$index])) ? '' : config_item('cookie_prefix');
-
+ $prefix = isset($_COOKIE[$index]) ? '' : config_item('cookie_prefix');
return $CI->input->cookie($prefix.$index, $xss_clean);
}
}