changelog_bot (changelog_bot) wrote in changelog,
changelog_bot
changelog_bot
changelog

[livejournal] r17758: OPSC-197 Ajax endpoint for requestPermis...

Committer: vtroitsky
OPSC-197 Ajax endpoint for requestPermission and requestShareApp functions added

U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2010-11-23 11:08:56 UTC (rev 17757)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2010-11-23 11:20:18 UTC (rev 17758)
@@ -894,6 +894,9 @@
         } elsif ($func eq "games") {
             LJ::get_remote();
             return redir(LJ::Session->setdomsess_handler()) if LJ::Request->uri eq "/__setdomsess";
+
+            return LJ::URI->bml_handler($LJ::AJAX_URI_MAP{$1}) if (LJ::Request->uri =~ /^\/__rpc_(ljapp.*)$/);
+
     	    return remote_domsess_bounce() if LJ::remote_bounce_url();
             return $bml_handler->("$LJ::HOME/htdocs/games/game.bml");
         } elsif ($func) {

Tags: livejournal, pm, sunnyman
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