summaryrefslogtreecommitdiffstats
path: root/context_prefix
diff options
context:
space:
mode:
authoryoung hahn2008-08-06 15:12:00 (GMT)
committeryoung hahn2008-08-06 15:12:00 (GMT)
commit09b169c5e67b75147faea20c0bf5be803ac3cd46 (patch)
treeb68ee37cbcf27d7f7a2173d2ce1c23a592f8a7f7 /context_prefix
parent8b2e6c917c94493b8ec8b250bed575001cdc76dd (diff)
Dropping prefixing when using context_prefix_goto
Diffstat (limited to 'context_prefix')
-rw-r--r--context_prefix/context_prefix.module1
1 files changed, 1 insertions, 0 deletions
diff --git a/context_prefix/context_prefix.module b/context_prefix/context_prefix.module
index 0d7a2f6..ce2eda4 100644
--- a/context_prefix/context_prefix.module
+++ b/context_prefix/context_prefix.module
@@ -519,6 +519,7 @@ function context_prefix_goto($provider, $prefix, $path = '', $query = NULL, $fra
*/
switch (variable_get('context_prefix_method_'. $provider, CONTEXT_PREFIX_PATH)) {
case CONTEXT_PREFIX_PATH:
+ clswitch('set', true); // Drop prefixing for context_prefix goto's
drupal_goto($prefix .'/'. $path, $query, $fragment, $http_response_code);
break;
case CONTEXT_PREFIX_DOMAIN: