diff --git a/www/index.php b/www/index.php index 5572d78c519c3bb950569e632b5a1aee9e54c205..b2722283eca477ab31badb1a05f45e413e8869d6 100644 --- a/www/index.php +++ b/www/index.php @@ -26,6 +26,9 @@ function loadDefaultSections($page) $page->navlinks = file_get_contents('http://www.unl.edu/ucomm/sharedcode/navigation.html'); $page->contactinfo = renderTemplate('templates/local-footer.tpl.php'); $page->affiliation = ''; + + //Convert relative paths to absolute + $page->navlinks = UNL_Search::removeRelativePaths($page->navlinks, 'https://www.unl.edu/'); } $isEmbed = isset($_GET['embed']) && $_GET['embed'];