Committer: ailyin
LJSUP-10910 (View comments in My Style setting): fixing lj-9 for anazarov :pU 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