Your IP : 216.73.216.240
<?php
/**
* @package Regular Labs Library
* @version 26.5.22170
*
* @author Peter van Westen <info@regularlabs.com>
* @link https://regularlabs.com
* @copyright Copyright © 2026 Regular Labs All Rights Reserved
* @license GNU General Public License version 2 or later
*/
namespace RegularLabs\Library;
defined('_JEXEC') or die;
require_once dirname(__FILE__, 2) . '/vendor/autoload.php';
class MobileDetect extends \RegularLabs\Scoped\Detection\MobileDetect
{
public function isCurl(): bool
{
return $this->match('curl', $this->getUserAgent());
}
public function isMac(): bool
{
return $this->match('(Mac OS|Mac_PowerPC|Macintosh)', $this->getUserAgent());
}
}