Committer: akanashin
LJSUP-11661: Transfer partner's journals to championat.com domainU 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]