[vhffs-dev] [433] Fixed an encoding problem on expired session or unactivated user.

[ Thread Index | Date Index | More vhffs.org/vhffs-dev Archives ]


Revision: 433
Author:   beuss
Date:     2007-02-03 15:02:17 +0000 (Sat, 03 Feb 2007)

Log Message:
-----------
Fixed an encoding problem on expired session or unactivated user.

Modified Paths:
--------------
    branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm


Modified: branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm
===================================================================
--- branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm	2007-02-03 13:28:23 UTC (rev 432)
+++ branches/vhffs_4.1/vhffs-api/src/Vhffs/Panel/Main.pm	2007-02-03 15:02:17 UTC (rev 433)
@@ -239,7 +239,7 @@
 		$template->param( TEXT_LOGINFAILED => $bad_news);
 		$template->param( TEXT_LOGIN => gettext("Login") );
 		$template->param( THEME => get_theme( $vhffs ) );
-		print "Content-type: text/html\n\n" , $template->output;
+        print CGI->header( -type=>"text/html", -charset=>"utf-8" ), $template->output;
 		return 0;
 	}
 


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/