Plugin Directory

Changeset 484361


Ignore:
Timestamp:
01/04/2012 10:01:59 AM (14 years ago)
Author:
rukbat
Message:

Upgrade to version 1.3.4.1

Location:
nginx-manager/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • nginx-manager/trunk/nginxmNginx.php

    r480988 r484361  
    4141           
    4242            // If the request is from a mobile device disable cache
     43<<<<<<< .mine
     44            if ( $nginxm->global_options['mobile_uncache'] ) {
     45                $_mobile_regex = ( isset($nginxm->global_options['mobile_regexp']) && ($nginxm->global_options['mobile_regexp'] != '' ) ) ? $nginxm->global_options['mobile_regexp'] : '#2.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine/3.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA/WX310K|LG/U990|MIDP-2.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP.Browser|UP.Link|webOS|Windows CE|WinWAP|YahooSeeker/M1A1-R2D2|NF-Browser|iPhone|iPod|Android|BlackBerry9530|G-TU915 Obigo|LGE VX|webOS|Nokia5800#';
     46                if ( preg_match( $_mobile_regex, $_SERVER['HTTP_USER_AGENT'] ) ) {
     47                    $cache_ttl = 0;
     48                }
     49=======
    4350            if ( $nginxm->global_options['mobile_uncache'] ) {
    4451                $_mobile_regex = ( isset($nginxm->global_options['mobile_regexp']) && ($nginxm->global_options['mobile_regexp'] != '' ) ) ? $nginxm->global_options['mobile_regexp'] : '/2\.0 MMP|240x320|400X240|AvantGo|BlackBerry|Blazer|Cellphone|Danger|DoCoMo|Elaine\/3\.0|EudoraWeb|Googlebot-Mobile|hiptop|IEMobile|KYOCERA\/WX310K|LG\/U990|MIDP-2\.|MMEF20|MOT-V|NetFront|Newt|Nintendo Wii|Nitro|Nokia|Opera Mini|Palm|PlayStation Portable|portalmmm|Proxinet|ProxiNet|SHARP-TQ-GX10|SHG-i900|Small|SonyEricsson|Symbian OS|SymbianOS|TS21i-10|UP\.Browser|UP\.Link|webOS|Windows CE|WinWAP|YahooSeeker\/M1A1-R2D2|NF-Browser|iPhone|iPod|Android|BlackBerry9530|G-TU915 Obigo|LGE VX|webOS|Nokia5800/';
     
    4653                    $cache_ttl = 0;
    4754                }
     55>>>>>>> .r484353
    4856            }
    4957           
  • nginx-manager/trunk/readme.txt

    r480988 r484361  
    6363== Changelog ==
    6464
     65<<<<<<< .mine
     66= 1.3.4.1 (2012 01 04) =
     67* BUG : Fix mobile regex
     68
    6569= 1.3.4 (2011 12 27) =
    6670* BUG : Now PurgeUrl also consider the query_string
     
    6973* EDIT : CPT identification by options, not automatically
    7074
     75=======
     76= 1.3.4 (2011 12 27) =
     77* BUG : Now PurgeUrl also consider the query_string
     78* NEW : Added an hook to run a function when a NGG gallery is purged. Hook name nm_ngg_gallery_purge
     79* NEW : Added options to choose if purge if user agent is from a mobile device and edit the regex.
     80* EDIT : CPT identification by options, not automatically
     81
     82>>>>>>> .r484353
    7183= 1.3.3 (2011 09 20) =
    7284* NEW : If the request is from a mobile device disable cache
Note: See TracChangeset for help on using the changeset viewer.