function session_test_drupal_goto_alter in SimpleTest 7
Implement hook_drupal_goto_alter().
Force the redirection to go to a non-secure page after being on a secure page through https.php.
File
- tests/
session_test.module, line 158
Code
function session_test_drupal_goto_alter(&$path, &$options, &$http_response_code) {
global $base_insecure_url;
$path = $base_insecure_url . '/' . $path;
}