From f1525268474f80f81e6d5fb1494a963239c15f79 Mon Sep 17 00:00:00 2001 From: Eric Rasmussen <erasmussen2@unl.edu> Date: Sun, 18 Jul 2010 23:34:27 +0000 Subject: [PATCH] set include path --- plugins/unl_theme/views/default/pageshells/pageshell.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/unl_theme/views/default/pageshells/pageshell.php b/plugins/unl_theme/views/default/pageshells/pageshell.php index 087d6ad2..7075f023 100644 --- a/plugins/unl_theme/views/default/pageshells/pageshell.php +++ b/plugins/unl_theme/views/default/pageshells/pageshell.php @@ -26,6 +26,7 @@ if (empty($vars['title'])) { $title = $vars['config']->sitename . " | " . $vars['title']; } +set_include_path(get_include_path() . PATH_SEPARATOR . dirname($vars['config']->path).'/lib/php'); require_once 'UNL/Templates.php'; UNL_Templates::$options['version'] = 3; @@ -76,4 +77,3 @@ $page->contactinfo = '<h3>Contacting Us</h3><p><strong>University of Nebraska-Li $page->footercontent = elgg_view('page_elements/footer', $vars); echo $page; -?> \ No newline at end of file -- GitLab