Committer: wisest-owl
LJSUP-8713.U branches/fotki/cgi-bin/LJ/URI.pm U branches/fotki/cgi-bin/weblib.pl
Modified: branches/fotki/cgi-bin/LJ/URI.pm =================================================================== --- branches/fotki/cgi-bin/LJ/URI.pm 2011-07-20 06:41:00 UTC (rev 19499) +++ branches/fotki/cgi-bin/LJ/URI.pm 2011-07-20 07:58:34 UTC (rev 19500) @@ -29,6 +29,9 @@ return LJ::URI->bml_handler($bml_handler_path) if $bml_handler_path; } + ## URI "/pics" can be handle only under user domains + return undef if $uri =~ /^\/pics/; + # handle normal URI mappings if (my $bml_file = $LJ::URI_MAP{$uri}) { return LJ::URI->bml_handler($bml_file); Modified: branches/fotki/cgi-bin/weblib.pl =================================================================== --- branches/fotki/cgi-bin/weblib.pl 2011-07-20 06:41:00 UTC (rev 19499) +++ branches/fotki/cgi-bin/weblib.pl 2011-07-20 07:58:34 UTC (rev 19500) @@ -2498,6 +2498,8 @@ push @classes, "index-page"; } elsif ($uri =~ m!^/shop(/.*)?$!) { push @classes, "shop-page"; + } elsif ($uri =~ m!^/pics(/.*)?$!) { + push @classes, "framework-page"; } elsif ($uri =~ m!^/browse(/.*)?$!) { push @classes, "catalogue-page"; } elsif ($uri =~ m!^/games(/.*)?$! || LJ::Request->header_in("Host") eq "$LJ::USERAPPS_SUBDOMAIN.$LJ::DOMAIN") {