Location: PHPKode > scripts > MobileUserAgent > mobileuseragent/detect_mobile_client.php
<?php

function is_client_mobile() {
  static $mua = null;
  if (!isset($mua)) {
    require_once('MobileUserAgent.php');
    $mua = new MobileUserAgent();
  }
  return $mua->success();
}

?>
Return current item: MobileUserAgent