[vhffs-dev] [1358] Send cookies before render (language is no more lost). |
[ Thread Index |
Date Index
| More vhffs.org/vhffs-dev Archives
]
Revision: 1358
Author: beuss
Date: 2009-03-09 19:27:09 +0100 (Mon, 09 Mar 2009)
Log Message:
-----------
Send cookies before render (language is no more lost).
Modified Paths:
--------------
branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Public.pm
Modified: branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Public.pm
===================================================================
--- branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Public.pm 2009-03-09 18:11:46 UTC (rev 1357)
+++ branches/vhffs-design/vhffs-api/src/Vhffs/Panel/Public.pm 2009-03-09 18:27:09 UTC (rev 1358)
@@ -102,7 +102,7 @@
binmode STDOUT , ':utf8';
- print CGI::header( -type=>'text/html', -charset=>'utf-8' );
+ print CGI->header( -cookie=>[ @{$self->{cookies}} ], -type=>'text/html', -charset=>'utf-8' );
$template->process($file, $vars)
|| die('Error while processing template: '.$template->error());