Committer: vtroitsky
OPSC-342: Reqister and enable __rpc_get_balance endpoint on LJHOME and subdomains.U trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm =================================================================== --- trunk/cgi-bin/Apache/LiveJournal.pm 2011-06-01 09:00:01 UTC (rev 19191) +++ trunk/cgi-bin/Apache/LiveJournal.pm 2011-06-01 09:46:04 UTC (rev 19192) @@ -919,7 +919,7 @@ 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|lj_times|ctxpopup|close).*)$/); + return LJ::URI->bml_handler($LJ::AJAX_URI_MAP{$1}) if (LJ::Request->uri =~ /^\/__rpc_((?:ljapp|lj_times|ctxpopup|close|get).*)$/); return remote_domsess_bounce() if LJ::remote_bounce_url(); return $bml_handler->("$LJ::HOME/htdocs/games/game.bml");