Committer: ailyin
LJSUP-13868 (prepare LJ for running on ubuntu 12.04)U trunk/cgi-bin/ljdefaults.pl
Modified: trunk/cgi-bin/ljdefaults.pl =================================================================== --- trunk/cgi-bin/ljdefaults.pl 2012-11-06 07:59:31 UTC (rev 23254) +++ trunk/cgi-bin/ljdefaults.pl 2012-11-06 08:00:05 UTC (rev 23255) @@ -16,10 +16,6 @@ 'i18n' => 'generator/en', }; - # cluster 0 is no longer supported - $LJ::DEFAULT_CLUSTER ||= 1; - @LJ::CLUSTERS = (1) unless @LJ::CLUSTERS; - $LJ::HOME = $ENV{'LJHOME'}; $LJ::HTDOCS = "$LJ::HOME/htdocs"; $LJ::SSLDOCS ||= "$LJ::HOME/ssldocs"; @@ -513,6 +509,10 @@ @LJ::GEARMAN_SERVERS = qw( 127.0.0.1:8000 ) unless @LJ::GEARMAN_SERVERS; } + + # cluster 0 is no longer supported + $LJ::DEFAULT_CLUSTER ||= 1; + @LJ::CLUSTERS = (1) unless @LJ::CLUSTERS; } # no dependencies.