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

Diff of /contributions/modules/google_keyhaviour/google_keyhaviour.module

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

revision 1.1.2.5.2.2, Fri Apr 3 14:58:27 2009 UTC revision 1.1.2.5.2.3, Sun May 3 03:13:53 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  /* $Id: google_keyhaviour.module,v 1.1.2.5.2.1 2009/04/03 14:44:26 danielb Exp $ */  /* $Id: google_keyhaviour.module,v 1.1.2.4 2009/03/29 04:06:18 danielb Exp $ */
3    
4    
5  /**  /**
# Line 576  function google_keyhaviour_keywords() { Line 576  function google_keyhaviour_keywords() {
576    $referer = strtolower($_SERVER['HTTP_REFERER']);    $referer = strtolower($_SERVER['HTTP_REFERER']);
577    
578    // For purposes of testing; uncomment the following line (your keywords are 'brisbane homeloan')    // For purposes of testing; uncomment the following line (your keywords are 'brisbane homeloan')
579    //$referer = strtolower('http://www.google.com.au/search?q=brisbane+homeloan&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a');    $referer = strtolower('http://www.google.com.au/search?q=brisbane+homeloan&ie=utf-8&oe=utf-8&aq=t&rls=org.mozilla:en-US:official&client=firefox-a');
580    
581    // see if it comes from google    // see if it comes from google
582    if (strpos($referer, "google")) {    if (strpos($referer, "google")) {

Legend:
Removed from v.1.1.2.5.2.2  
changed lines
  Added in v.1.1.2.5.2.3

  ViewVC Help
Powered by ViewVC 1.1.2