Exemplo n.º 1
0
 /**
  * Initializes the OntoWiki main class
  *
  * @since 0.9.5
  */
 public function _initOntoWiki()
 {
     // require Config
     $this->bootstrap('Config');
     $config = $this->getResource('Config');
     OntoWiki::reset();
     $ontoWiki = OntoWiki::getInstance();
     $ontoWiki->setBootstrap($this);
     $ontoWiki->language = isset($config->languages->locale) ? $config->languages->locale : null;
     $ontoWiki->config = $config;
     return $ontoWiki;
 }