Skip to content
This repository has been archived by the owner on Jun 11, 2024. It is now read-only.

Commit

Permalink
Merge pull request #406 from AKSW/fix/cacheModulesEntry
Browse files Browse the repository at this point in the history
Set the Config in the OntoWiki_View constructor. Fix #386.
  • Loading branch information
white-gecko committed May 2, 2017
2 parents 9a111bb + 002e2e9 commit 7b0f820
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion application/classes/OntoWiki/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ class OntoWiki_View extends Zend_View
public function __construct($config = array(), $translate = null)
{
parent::__construct($config);

$this->_config = OntoWiki::getInstance()->config;
$this->_translate = $translate;
$this->_placeholderRegistry = Zend_View_Helper_Placeholder_Registry::getRegistry();

Expand Down

0 comments on commit 7b0f820

Please sign in to comment.