wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r19500: LJSUP-8713.

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") {

Tags: livejournal, pl, pm, wisest-owl
Subscribe

  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments