diff --git a/src/UNL/Catalog.php b/src/UNL/Catalog.php index 8d3d2b7ce4cdf5f822cde00b434a06dd7c739561..7164c969a1c9ff76a825e9b2ad86b03ae270357f 100644 --- a/src/UNL/Catalog.php +++ b/src/UNL/Catalog.php @@ -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;