Commit 5ae71776 authored by Marion Dorsett's avatar Marion Dorsett
Browse files

Add argument to test string as browser agent

I recently had a need to test the cached browser agent from a database, and instead of rewriting what's already been done, here, I just modified the three methods isdesktop, ismobile, and isbot to accept a string, or default to the AGENT have var.
parent 9a62195b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment