anchor.diff:          end
       .
   
  -mobile_futon(Req) -> ok
  -    , send_500(Req)
  +mobile_futon(Req, Mobile_dir) -> ok
  +    , send_from_dir(Req, Mobile_dir)
       .
   
   old_futon(#httpd{}=Req) -> ok
  
positive.code:             , case re:run(User_agent, ?MOBILE_UA_RE, [caseless])
                  of {match, _Match1} -> ok
                      , ?LOG_DEBUG("Mobile browser first match: ~s", [User_agent])
                      , mobile_futon(Req)
                  ; nomatch -> ok
                      , First_4 = string:substr(User_agent, 1, 4)
                      , case re:run(First_4, ?MOBILE_UA_TRUNC_RE, [caseless])
                          of {match, _Match2} -> ok
                              , ?LOG_DEBUG("Mobile browser second match: ~s", [User_agent])
                              , mobile_futon(Req)
                          ; nomatch -> ok
                              , ?LOG_DEBUG("Not a mobile browser: ~s", [User_agent])
                              , old_futon(Req)
  
negative.code:             , Mobile_dir = Priv_dir ++ "/mobilefuton"
              , case httpd_conf:is_directory(Mobile_dir)
                  of {ok, Mobile_dir} -> ok
                      , mobile_enabled_futon(Req, Mobile_dir)
                  ; Else -> ok
                      , ?LOG_DEBUG("Bad mobilefuton dir ~p: ~p", [Mobile_dir, Else])
                      , old_futon(Req)
  