File: Logaty/Helpers/Detect/Browser.php

Recommend this page to a friend!
  Classes of mohammad anzawi  >  PHP Multilingual Support Library  >  Logaty/Helpers/Detect/Browser.php  >  Download  
File: Logaty/Helpers/Detect/Browser.php
Role: Class source
Content type: text/plain
Description: Class source
Class: PHP Multilingual Support Library
Translate texts for Web sites from JSON or DB
Author: By
Last change:
Date: 8 days ago
Size: 158 bytes
 

Contents

Class file image Download
<?php

namespace PHPtricks\Logaty\Helpers\Detect;

trait
Browser
{
    public function
browser()
    {
        return
substr($_SERVER['HTTP_ACCEPT_LANGUAGE'], 0, 2);
    }
}


For more information send a message to info at phpclasses dot org.