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

Diff of /contributions/modules/globalredirect/globalredirect.module

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

revision 1.1.2.4.2.5.2.13, Mon Dec 22 10:32:54 2008 UTC revision 1.1.2.4.2.5.2.14, Mon Dec 22 10:34:32 2008 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: globalredirect.module,v 1.1.2.4.2.5.2.12 2008/12/22 10:07:43 njt1982 Exp $  // $Id: globalredirect.module,v 1.1.2.4.2.5.2.13 2008/12/22 10:32:54 njt1982 Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 151  function globalredirect_init() { Line 151  function globalredirect_init() {
151      }      }
152    
153      // If no alias was returned, the final check is to direct non-clean to clean - if clean is enabled      // If no alias was returned, the final check is to direct non-clean to clean - if clean is enabled
154      if (((bool)variable_get('globalredirect_nonclean2clean', GLOBALREDIRECT_NONCLEAN2CLEAN_ENABLED)) && ((bool)variable_get('clean_url', 0)) && strpos(request_uri(), '?q=')) {      if ((variable_get('globalredirect_nonclean2clean', GLOBALREDIRECT_NONCLEAN2CLEAN_ENABLED) == GLOBALREDIRECT_NONCLEAN2CLEAN_ENABLED) && ((bool)variable_get('clean_url', 0)) && strpos(request_uri(), '?q=')) {
155        drupal_goto($request, $query_string, NULL, 301);        drupal_goto($request, $query_string, NULL, 301);
156      }      }
157    

Legend:
Removed from v.1.1.2.4.2.5.2.13  
changed lines
  Added in v.1.1.2.4.2.5.2.14

  ViewVC Help
Powered by ViewVC 1.1.2