svnno****@sourc*****
svnno****@sourc*****
2008年 7月 18日 (金) 12:11:18 JST
Revision: 707 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=707 Author: tach Date: 2008-07-18 12:11:18 +0900 (Fri, 18 Jul 2008) Log Message: ----------- Fix: use $constants instead of $gSkin when using slashd Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm 2008-07-17 11:31:23 UTC (rev 706) +++ slashjp/branches/2.5.0.192/Slash/XML/RSS/RSS.pm 2008-07-18 03:11:18 UTC (rev 707) @@ -173,10 +173,10 @@ ); my $dynamic = 0; - my $absolutedir = $gSkin->{absolutedir}; + my $absolutedir = $gSkin->{absolutedir} || $constants->{absolutedir}; if (defined &Slash::Apache::ConnectionIsSSL) { $dynamic = 1; - $absolutedir = $gSkin->{absolutedir_secure} if Slash::Apache::ConnectionIsSSL(); + $absolutedir = ($gSkin->{absolutedir_secure} || $constants->{absolutedir_secure}) if Slash::Apache::ConnectionIsSSL(); } # set defaults