Update of /cvsroot/fink/web
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv24463

Modified Files:
        phpLang.inc.php 
Log Message:
post phpLang cookie for path '/' -> now it'll actually work correctly everywhere on 
the site, not just on the front page

Index: phpLang.inc.php
===================================================================
RCS file: /cvsroot/fink/web/phpLang.inc.php,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- phpLang.inc.php     2 Mar 2004 23:54:56 -0000       1.11
+++ phpLang.inc.php     7 Mar 2004 22:46:22 -0000       1.12
@@ -171,7 +171,7 @@
 if(defined('phpLang_current')) {
        if(phpLang_useCookie) {
                // set a cookie expiring in one year for current language
-               setcookie('phpLangCookie', phpLang_current, time() + 60*60*24*365);
+               setcookie('phpLangCookie', phpLang_current, time() + 60*60*24*365, 
"/");
        }
        
        // defines a string to add at the end of each link



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Fink-commits mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-commits

Reply via email to