svnno****@sourc*****
svnno****@sourc*****
2008年 4月 24日 (木) 13:04:26 JST
Revision: 602 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=slashdotjp&view=rev&rev=602 Author: tach Date: 2008-04-24 13:04:26 +0900 (Thu, 24 Apr 2008) Log Message: ----------- Fix not to show contents when the skin does not exist Modified Paths: -------------- slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm slashjp/branches/2.5.0.192/debian/changelog -------------- next part -------------- Modified: slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm =================================================================== --- slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm 2008-04-23 08:38:57 UTC (rev 601) +++ slashjp/branches/2.5.0.192/Slash/Apache/Apache.pm 2008-04-24 04:04:26 UTC (rev 602) @@ -354,6 +354,12 @@ # $uri =~ s/^\Q$path//; #} + # DECLINED if the skin does not exist + if ($uri =~ m|^/\w+/\w+\.pl$| && + determineCurrentSkin() == getCurrentStatic('mainpage_skid')) { + return DECLINED; + } + # Comment this in if you want to try having this do the right # thing dynamically # my $slashdb = getCurrentDB(); Modified: slashjp/branches/2.5.0.192/debian/changelog =================================================================== --- slashjp/branches/2.5.0.192/debian/changelog 2008-04-23 08:38:57 UTC (rev 601) +++ slashjp/branches/2.5.0.192/debian/changelog 2008-04-24 04:04:26 UTC (rev 602) @@ -3,8 +3,9 @@ * Fix to take discussion id from journal-submission * Update journal-story discussions' title/url to story title/url when vars update_journal_story_discussion_to_story has been enabled. + * Fix not to show contents when the skin does not exist - -- Taku YASUI <tach****@osdn*****> Tue, 22 Apr 2008 18:49:08 +0900 + -- Taku YASUI <tach****@osdn*****> Thu, 24 Apr 2008 13:00:34 +0900 slash (2.5.0.192-9) unstable; urgency=low