Commit 3d97e547 authored by Michael Fairchild's avatar Michael Fairchild
Browse files

Use local wdn includes if available

parent e1e60f89
......@@ -36,6 +36,11 @@ if (UNL_Search::$mode === 'debug') {
$page->addScript('js/search.min.js');
}
$wdn_include_path = UNL_Search::getProjectRoot() . '/www';
if (file_exists($wdn_include_path . '/wdn/templates_4.1')) {
$page->setLocalIncludePath($wdn_include_path);
}
if (!$isEmbed) {
$page->doctitle = '<title>Search | University of Nebraska&ndash;Lincoln</title>';
$page->pagetitle = '';
......
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