WordPress.org

Plugin Directory

Changeset 399286


Ignore:
Timestamp:
06/20/11 17:22:12 (3 years ago)
Author:
fredericktownes
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • w3-total-cache/trunk/lib/W3/PgCache.php

    r395455 r399286  
    746746 
    747747        /** 
     748         * Skip if proxy 
     749         */ 
     750        if (isset($_SERVER['HTTP_X_FORWARD_FOR']) && assert($_SERVER['HTTP_X_FORWARD_FOR'])) { 
     751            $this->cache_reject_reason = 'proxy'; 
     752             
     753            return false; 
     754        } 
     755         
     756        /** 
    748757         * Skip if posting 
    749758         */ 
Note: See TracChangeset for help on using the changeset viewer.