Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[ljcom] r10347: LJSUP-8311: Need ability to display anot...

Committer: gariev
LJSUP-8311: Need ability to display another domain in the entry page

U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2011-04-06 02:30:57 UTC (rev 10346)
+++ trunk/cgi-bin/ljcom.pl	2011-04-06 03:34:10 UTC (rev 10347)
@@ -910,7 +910,14 @@
             return "http://$domain";
         }
     }
-    
+   
+    ##
+    ## Case of journals linked to domains
+    ##
+    if (my $domain = $LJ::DOMAIN_JOURNALS{ $u->{user} }) {
+        return "http://$domain";
+    }
+     
     # rule format:
     #    accounttype => [$use_user_vhost_if_no_underscore, $domain_to_use_otherwise]
 

Tags: gariev, 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