Update for bug 337838, fixes redirect to use config var for first part of URI.

git-svn-id: svn://10.0.0.236/trunk@201184 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mike.morgan%oregonstate.edu 2006-06-29 02:04:18 +00:00
parent ac3f243739
commit d0538c305f

View File

@ -250,7 +250,7 @@ if ($resultCount<$page['right']) {
// If we have only one result, redirect to the addon page.
if ( $resultCount == 1) {
header('Location: https://'.$_SERVER['HTTP_HOST'].WEB_PATH.'/'.$clean['app'].'/'.$rawResults[0].'/');
header('Location: '.HTTP_HOST.WEB_PATH.'/'.$clean['app'].'/'.$rawResults[0].'/');
exit;
} else {
foreach($rawResults as $id) {