| 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 |
| 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 |
|
|