Piwik\Plugins\PrivacyManager\DoNotTrackHeaderChecker::isHeaderDntFound PHP 메소드

isHeaderDntFound() 보호된 메소드

protected isHeaderDntFound ( ) : boolean
리턴 boolean
    protected function isHeaderDntFound()
    {
        return isset($_SERVER['HTTP_X_DO_NOT_TRACK']) && $_SERVER['HTTP_X_DO_NOT_TRACK'] === '1' || isset($_SERVER['HTTP_DNT']) && substr($_SERVER['HTTP_DNT'], 0, 1) === '1';
    }