Plugin Directory

Changeset 3063330


Ignore:
Timestamp:
04/03/2024 07:01:34 AM (2 years ago)
Author:
nikmelnik
Message:

Сделал незначительные правки

File:
1 edited

Legend:

Unmodified
Added
Removed
  • realbig-media/trunk/textEditing.php

    r3062761 r3063330  
    830830                }
    831831
    832                 $mobile_ua = isset($_SERVER['HTTP_ACCEPT']) ? strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4)) : "";
     832                $mobile_ua = isset($_SERVER['HTTP_USER_AGENT']) ? strtolower(substr($_SERVER['HTTP_USER_AGENT'], 0, 4)) : "";
    833833                $mobile_agents = array(
    834834                    'w3c ','acs-','alav','alca','amoi','audi','avan','benq','bird','blac',
     
    846846                }
    847847
    848                 if (isset($_SERVER['HTTP_ACCEPT']) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) {
     848                if (isset($_SERVER['HTTP_USER_AGENT']) && strpos(strtolower($_SERVER['HTTP_USER_AGENT']),'opera mini') > 0) {
    849849                    $mobile_browser++;
    850850                    //Check for tablets on opera mini alternative headers
Note: See TracChangeset for help on using the changeset viewer.