/[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.92, Thu Jun 4 22:02:03 2009 UTC revision 1.93, Tue Sep 1 16:30:28 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: adsense.module,v 1.91 2009/05/19 21:26:01 jcnventura Exp $  // $Id: adsense.module,v 1.92 2009/06/04 22:02:03 jcnventura Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 558  function _adsense_page_match() { Line 558  function _adsense_page_match() {
558    // and it also prevents warnings about mixed-content    // and it also prevents warnings about mixed-content
559    // Thanks to Brad Konia http://drupal.org/node/29585    // Thanks to Brad Konia http://drupal.org/node/29585
560    // Should be restricted when running on Apache only    // Should be restricted when running on Apache only
561    if (isset($_SERVER['SERVER_SOFTWARE']) && (stripos($_SERVER['SERVER_SOFTWARE'], 'Apache') !== FALSE) &&    if (isset($_SERVER['SERVER_SOFTWARE']) && (stristr($_SERVER['SERVER_SOFTWARE'], 'Apache') !== FALSE) &&
562        isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) {        isset($_SERVER['HTTPS']) && ($_SERVER['HTTPS'] == 'on')) {
563      return FALSE;      return FALSE;
564    }    }

Legend:
Removed from v.1.92  
changed lines
  Added in v.1.93

  ViewVC Help
Powered by ViewVC 1.1.2