cvs: phpweb /include langchooser.inc

From: Date: Fri, 14 Mar 2003 09:40:32 +0000
Subject: cvs: phpweb /include langchooser.inc
Groups: php.mirrors 
Request: Send a blank email to php-mirrors+get-16345@lists.php.net to get a copy of this message
derick Fri Mar 14 04:40:32 2003 EDT Modified files: /phpweb/include langchooser.inc Log: s/\t/\ \ \ \ /g Index: phpweb/include/langchooser.inc diff -u phpweb/include/langchooser.inc:1.17 phpweb/include/langchooser.inc:1.18 --- phpweb/include/langchooser.inc:1.17 Fri Mar 14 04:39:15 2003 +++ phpweb/include/langchooser.inc Fri Mar 14 04:40:32 2003 @@ -1,6 +1,6 @@ <?php // -*- C++ -*- -// $Id: langchooser.inc,v 1.17 2003/03/14 09:39:15 derick Exp $ +// $Id: langchooser.inc,v 1.18 2003/03/14 09:40:32 derick Exp $ /* @@ -55,8 +55,8 @@ if (isset($_REQUEST['lang'])) { $explicitly_specified = language_add($_REQUEST['lang'], $languages); - // Set the language in a cookie for a year and for all *.php.net servers - setcookie("MYPHPNET", $_REQUEST['lang'], time() + 60*60*24*365, '/', '.php.net'); + // Set the language in a cookie for a year and for all *.php.net servers + setcookie("MYPHPNET", $_REQUEST['lang'], time() + 60*60*24*365, '/', '.php.net'); } // Specified in a shortcut URL (eg. /en/echo or /pt_br/echo)

« previous php.mirrors (#16345) next »