Skip to content

Commit

Permalink
root table
Browse files Browse the repository at this point in the history
  • Loading branch information
nczirjak-acdh committed Sep 5, 2024
1 parent 7d942c0 commit d1e01f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ArcheBaseController.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ public function __construct() {
$headers = new \acdhOeaw\arche\lib\Schema($this->config->rest->headers);
$nonRelProp = $this->config->metadataManagment->nonRelationProperties ?? [];
$this->repoDb = new RepoDb($baseUrl, $this->schema, $headers, $this->pdo, $nonRelProp);
$this->ontology = new Ontology($this->pdo, $this->schema, $this->config->ontologyCacheFile, $this->config->ontologyCacheTtl);
$this->ontology = \acdhOeaw\arche\lib\schema\Ontology::factoryDb($this->pdo, $this->schema, $this->config->ontologyCacheFile ?? '', $this->config->ontologyCacheTtl ?? 600);
} catch (\Exception $ex) {
\Drupal::messenger()->addWarning($this->t('Error during the BaseController initialization!') . ' ' . $ex->getMessage());
return array();
Expand Down

0 comments on commit d1e01f6

Please sign in to comment.