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

        Patch by fu. 

diffs (22 lines):

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;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to