alf (red_alf) wrote in changelog,
alf
red_alf
changelog

[ljcom] r11232: LJSUP-10461: Livejournal.sg redirecting

Committer: afedorov
LJSUP-10461: Livejournal.sg redirecting

U   trunk/cgi-bin/LJ/Widget/HomepageEN.pm
Modified: trunk/cgi-bin/LJ/Widget/HomepageEN.pm
===================================================================
--- trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2011-12-01 13:42:17 UTC (rev 11231)
+++ trunk/cgi-bin/LJ/Widget/HomepageEN.pm	2011-12-01 13:52:05 UTC (rev 11232)
@@ -44,8 +44,7 @@
             LJ::Request->set_cookie('non-sg-redirect' => '1', 'expires' => time + 15552000);   
         }
         unless (LJ::Request->cookie('non-sg-redirect')) { 
-            LJ::Request->redirect('http://www.livejournal.sg'); 
-            LJ::Request->set_cookie('sg-redirect' => '1', 'expires' => time + 86400);
+            LJ::Request->redirect('http://www.livejournal.sg/?sgr=1'); 
         }
     }
     $result{uk_block} =

Tags: afedorov, ljcom, pm, red_alf
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments