ssafronova (ssafronova) wrote in changelog,
ssafronova
ssafronova
changelog

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

Committer: ssafronova
LJSUP-8311: Need ability to display another domain in the entry page - revert
U   trunk/cgi-bin/ljcom.pl
Modified: trunk/cgi-bin/ljcom.pl
===================================================================
--- trunk/cgi-bin/ljcom.pl	2011-03-23 04:46:24 UTC (rev 10284)
+++ trunk/cgi-bin/ljcom.pl	2011-03-23 07:12:11 UTC (rev 10285)
@@ -904,13 +904,12 @@
     ## A special case for Independent Mind journals:
     ## their domain aliases are primary journal addresses
     ##
-#    if ($LJ::INDEPENDENT_USERNAMES{ $u->{user} }) {
-## now all journals that have domain alias (LJSUP-8311)
+    if ($LJ::INDEPENDENT_USERNAMES{ $u->{user} }) {
         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