Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r20881: LJSUP-10910 (View comments in My Style s...

Committer: ailyin
LJSUP-10910 (View comments in My Style setting): fixing lj-9 for anazarov :p
U   trunk/cgi-bin/LJ/S2.pm
U   trunk/cgi-bin/LJ/Setting/CommentsStyleMine.pm
U   trunk/cgi-bin/ljlib.pl
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2012-01-10 13:19:28 UTC (rev 20880)
+++ trunk/cgi-bin/LJ/S2.pm	2012-01-11 07:26:57 UTC (rev 20881)
@@ -5,7 +5,6 @@
 use POSIX ();
 use Encode;
 
-use lib "$ENV{'LJHOME'}/src/s2";
 use S2;
 use S2::Color;
 use S2::Checker;

Modified: trunk/cgi-bin/LJ/Setting/CommentsStyleMine.pm
===================================================================
--- trunk/cgi-bin/LJ/Setting/CommentsStyleMine.pm	2012-01-10 13:19:28 UTC (rev 20880)
+++ trunk/cgi-bin/LJ/Setting/CommentsStyleMine.pm	2012-01-11 07:26:57 UTC (rev 20881)
@@ -3,6 +3,8 @@
 use strict;
 use warnings;
 
+use S2;
+
 sub should_render {
     my ($class, $u) = @_;
     return 0 unless $u;

Modified: trunk/cgi-bin/ljlib.pl
===================================================================
--- trunk/cgi-bin/ljlib.pl	2012-01-10 13:19:28 UTC (rev 20880)
+++ trunk/cgi-bin/ljlib.pl	2012-01-11 07:26:57 UTC (rev 20881)
@@ -3,6 +3,7 @@
 use strict;
 no warnings 'uninitialized';
 use lib "$ENV{LJHOME}/cgi-bin";
+use lib "$ENV{LJHOME}/src/s2";
 
 BEGIN {
     # ugly hack to shutup dependent libraries which sometimes want to bring in

Tags: ailyin, andy, livejournal, pl, pm
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