holyandrew (holyandrew) wrote in changelog,
holyandrew
holyandrew
changelog

[ljcom] r11715: LJSUP-11661: Transfer partner's journals...

Committer: akanashin
LJSUP-11661: Transfer partner's journals to championat.com domain
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2012-04-16 15:33:51 UTC (rev 11714)
+++ trunk/cgi-bin/ljcom.pl	2012-04-17 06:47:40 UTC (rev 11715)
@@ -940,6 +940,13 @@
         return "http://$domain";
     }
 
+    ##
+    ## Case of journals linked to championat
+    ##
+    if ($LJ::DOMAIN_JOURNALS_CHAMPIONAT{ $u->{user} }) {
+        return "http://$u->{user}.championat.com";
+    }
+
     # rule format:
     #    accounttype => [$use_user_vhost_if_no_underscore, $domain_to_use_otherwise]
 

Tags: akanashin, holyandrew, ljcom, pl
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