diff --git a/www/index.php b/www/index.php index 93cfc8623a73f35a8657ba3dc48c134843080462..f9ba723eb0c150f20b8f12ad964a68ced205207a 100644 --- a/www/index.php +++ b/www/index.php @@ -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–Lincoln</title>'; $page->pagetitle = '';