Skip to content
Snippets Groups Projects
Commit 3d97e547 authored by Michael Fairchild's avatar Michael Fairchild
Browse files

Use local wdn includes if available

parent e1e60f89
No related branches found
No related tags found
1 merge request!64.1
This commit is part of merge request !6. Comments created here will be created in the context of that merge request.
......@@ -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 = '';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment