Skip to content
Snippets Groups Projects
Commit d7ba4664 authored by Tim Steiner's avatar Tim Steiner
Browse files

Minor fix to last commit

git-svn-id: file:///tmp/wdn_thm_drupal/trunk@240 20a16fea-79d4-4915-8869-1ea9d5ebf173
parent f597f5c7
No related branches found
No related tags found
No related merge requests found
......@@ -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]);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment