From d7ba46649dfebffe4fbde8ff818c080173ba9569 Mon Sep 17 00:00:00 2001 From: Tim Steiner <tsteiner2@unl.edu> Date: Wed, 13 Oct 2010 22:00:42 +0000 Subject: [PATCH] Minor fix to last commit git-svn-id: file:///tmp/wdn_thm_drupal/trunk@240 20a16fea-79d4-4915-8869-1ea9d5ebf173 --- includes/unl_bootstrap.inc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/includes/unl_bootstrap.inc b/includes/unl_bootstrap.inc index 4f6d1a2d3..2899e268e 100644 --- a/includes/unl_bootstrap.inc +++ b/includes/unl_bootstrap.inc @@ -3,7 +3,8 @@ function unl_bootstrap() { $original_script_name = $_SERVER['SCRIPT_NAME']; - $path_parts = explode('/', $_SERVER['SCRIPT_URL']); + $request_uri = parse_url($_SERVER['REQUEST_URI']); + $path_parts = explode('/', $request_uri['path']); foreach ($path_parts as $path_index => $path_part) { if (!$path_part) { unset($path_parts[$path_index]); -- GitLab