2heoh (2heoh) wrote in changelog,
2heoh
2heoh
changelog

[livejournal] r19418: LJM-1839: Integration m.livejournal.com ...

Committer: slobin
LJM-1839: Integration m.livejournal.com into big version LiveJournal


M cgi-bin/Apache/LiveJournal.pm
U   trunk/cgi-bin/Apache/LiveJournal.pm
Modified: trunk/cgi-bin/Apache/LiveJournal.pm
===================================================================
--- trunk/cgi-bin/Apache/LiveJournal.pm	2011-07-01 09:23:47 UTC (rev 19417)
+++ trunk/cgi-bin/Apache/LiveJournal.pm	2011-07-01 10:22:22 UTC (rev 19418)
@@ -506,6 +506,11 @@
         }
     }
 
+    if(LJ::Request->post_param('mobile_domain')) {
+        LJ::Request->notes('use_minimal_scheme' => 1);
+        LJ::Request->notes('bml_use_scheme' => $LJ::MINIMAL_BML_SCHEME)
+    }
+
     # Redirect to mobile version if needed.
     my $new_url = Apache::WURFL->redirect4mobile( host => $host, uri => $uri, );
     return redir($new_url, LJ::Request::HTTP_MOVED_PERMANENTLY) if $new_url;

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