fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-10-08 01:57 am

[dw-free] Poll left-end/right-end images not showing up in notification emails

[commit: http://hg.dwscoalition.org/dw-free/rev/c72733be8bd1]

http://bugs.dwscoalition.org/show_bug.cgi?id=3114

Include imageconf.pl in all contexts, not just web context, so that workers
can get at it.

Patch by [personal profile] fu.

Files modified:
  • cgi-bin/ljlib.pl
  • cgi-bin/modperl_subs.pl
--------------------------------------------------------------------------------
diff -r ce9c6354e72f -r c72733be8bd1 cgi-bin/ljlib.pl
--- a/cgi-bin/ljlib.pl	Thu Oct 07 16:39:33 2010 +0800
+++ b/cgi-bin/ljlib.pl	Fri Oct 08 09:56:56 2010 +0800
@@ -139,6 +139,7 @@ require "ljcapabilities.pl";
 require "ljcapabilities.pl";
 use DW::Mood;
 require "ljrelation.pl";
+require "imageconf.pl";
 
 require "$LJ::HOME/cgi-bin/ljlib-local.pl"
     if -e "$LJ::HOME/cgi-bin/ljlib-local.pl";
diff -r ce9c6354e72f -r c72733be8bd1 cgi-bin/modperl_subs.pl
--- a/cgi-bin/modperl_subs.pl	Thu Oct 07 16:39:33 2010 +0800
+++ b/cgi-bin/modperl_subs.pl	Fri Oct 08 09:56:56 2010 +0800
@@ -83,7 +83,6 @@ use LJ::Syn;
 use LJ::Syn;
 require "htmlcontrols.pl";
 require "weblib.pl";
-require "imageconf.pl";
 use LJ::Support;
 use LJ::CleanHTML;
 use LJ::Talk;
--------------------------------------------------------------------------------