You are here

function securepages_get_query in Secure Pages 6

Same name and namespace in other branches
  1. 5 securepages.module \securepages_get_query()

Return a querystring without the q paramter

1 call to securepages_get_query()
securepages_goto in ./securepages.module
securepage_goto()

File

./securepages.module, line 411
Provide method of creating allowing certain pages to only viewable from https pages

Code

function securepages_get_query($query) {
  return trim(str_replace('q=' . $query['q'], '', $_SERVER['QUERY_STRING']), '&');
}