This is a lightweight mobile detection based on the Mobile_Detect.php library.