diff options
author | alecpl <alec@alec.pl> | 2008-09-19 07:22:24 +0000 |
---|---|---|
committer | alecpl <alec@alec.pl> | 2008-09-19 07:22:24 +0000 |
commit | d4273b8990d56394623e713a0696ec27545bccc7 (patch) | |
tree | 744c784af099e3f781d534298fac5d243cf9290c | |
parent | cb7597e268fa5fa9760f9d0cae5c1fd1f0e3fbe7 (diff) |
- support variables of type 'cookie' (for feature use)
-rwxr-xr-x | program/include/rcube_template.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/program/include/rcube_template.php b/program/include/rcube_template.php index 6c566e563..55bf220c8 100755 --- a/program/include/rcube_template.php +++ b/program/include/rcube_template.php @@ -639,6 +639,9 @@ class rcube_template extends rcube_html_page case 'session': $value = $_SESSION[$name]; break; + case 'cookie': + $value = htmlspecialchars($_COOKIE[$name]); + break; } if (is_array($value)) { |