Commit f7d0a3a0 authored by Michael Fairchild's avatar Michael Fairchild
Browse files

Fix broken links

parent 5e6a2560
......@@ -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'];
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment