ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

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

Committer: ssafronova
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-03-22 10:03:00 UTC (rev 10279)
+++ trunk/cgi-bin/ljcom.pl	2011-03-22 10:19:06 UTC (rev 10280)
@@ -904,12 +904,13 @@
     ## A special case for Independent Mind journals:
     ## their domain aliases are primary journal addresses
     ##
-    if ($LJ::INDEPENDENT_USERNAMES{ $u->{user} }) {
+#    if ($LJ::INDEPENDENT_USERNAMES{ $u->{user} }) {
+## now all journals that have domain alias (LJSUP-8311)
         my $domain = $u->prop("journaldomain");
         if ($domain && $domain =~ /^[\w-]+(?:\.[\w-]+)+$/) {
             return "http://$domain";
         }
-    }
+#    }
     
     # rule format:
     #    accounttype => [$use_user_vhost_if_no_underscore, $domain_to_use_otherwise]

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