anchor.diff:              , Mobile_dir = Priv_dir ++ "/mobilefuton"
               , case httpd_conf:is_directory(Mobile_dir)
                   of {ok, Mobile_dir} -> ok
  -                    , mobile_enabled_futon(Req)
  +                    , mobile_enabled_futon(Req, Mobile_dir)
                   ; Else -> ok
                       , ?LOG_DEBUG("Bad mobilefuton dir ~p: ~p", [Mobile_dir, Else])
                       , old_futon(Req)
  
positive.code:         end
      .
  
  mobile_futon(Req) -> ok
      , send_500(Req)
      .
  
  old_futon(#httpd{}=Req) -> ok
  
negative.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, Mobile_dir)
                  ; 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, Mobile_dir)
                          ; nomatch -> ok
                              , ?LOG_DEBUG("Not a mobile browser: ~s", [User_agent])
                              , old_futon(Req)
  