Skip to content
Snippets Groups Projects
Commit 47f02b6b authored by Tim Steiner's avatar Tim Steiner
Browse files

Add support for PEAR include_path in config.ini

parent 5517c85b
No related branches found
No related tags found
No related merge requests found
......@@ -11,6 +11,11 @@ Zend_Loader::registerAutoload('Unl_Loader');
$config = new Zend_Config_Ini(APPLICATION_DIR . '/config.ini');
$pearPath = $config->pear->include_path;
if ($pearPath) {
set_include_path(get_include_path() . PATH_SEPARATOR . '../library');
}
Zend_Session::setOptions($config->session->toArray());
$cache = Zend_Cache::factory(
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment