/[drupal]/contributions/modules/adsense/adsense.module
ViewVC logotype

Diff of /contributions/modules/adsense/adsense.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.66.2.9.2.16, Thu Jun 4 21:53:20 2009 UTC revision 1.66.2.9.2.17, Tue Sep 1 16:30:10 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: adsense.module,v 1.66.2.9.2.15 2009/05/19 21:25:35 jcnventura Exp $  // $Id: adsense.module,v 1.66.2.9.2.16 2009/06/04 21:53:20 jcnventura Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 539  function _adsense_page_match() { Line 539  function _adsense_page_match() {
539    // and it also prevents warnings about mixed-content    // and it also prevents warnings about mixed-content
540    // Thanks to Brad Konia http://drupal.org/node/29585    // Thanks to Brad Konia http://drupal.org/node/29585
541    // Should be restricted when running on Apache only    // Should be restricted when running on Apache only
542    if (isset($_SERVER['SERVER_SOFTWARE']) && (stripos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== FALSE) &&    if (isset($_SERVER['SERVER_SOFTWARE']) && (stristr($_SERVER['SERVER_SOFTWARE'], 'Apache') !== FALSE) &&
543        isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) {        isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) {
544      return FALSE;      return FALSE;
545    }    }

Legend:
Removed from v.1.66.2.9.2.16  
changed lines
  Added in v.1.66.2.9.2.17

  ViewVC Help
Powered by ViewVC 1.1.2