Skip to content
Snippets Groups Projects
Commit c4d99483 authored by Brett Bieber's avatar Brett Bieber
Browse files

Add global references to controller and course data searcher

parent bc208dab
No related branches found
No related tags found
No related merge requests found
......@@ -429,6 +429,9 @@ class UNL_Catalog
$savvy->setEscape('htmlentities');
$savvy->setClassToTemplateMapper(new UNL_UndergraduateBulletin_ClassToTemplateMapper());
$savvy->setTemplatePath($this->undergraduate_bulletin_dir . '/www/templates/html/');
$savvy->addGlobal('controller', $this);
$savvy->addGlobal('course_search_driver', new UNL_Catalog_CourseSearch_DBSearcher());
}
return $savvy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment