Skip to content

Commit

Permalink
Style/System: fix artifact loading
Browse files Browse the repository at this point in the history
  • Loading branch information
klees committed Nov 16, 2023
1 parent fffdd4e commit e8987c7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ protected function buildTreeAsTool(): Tool
protected function getUITree(): Tree
{
$entries = new Entries();
$entries->addEntriesFromArray(include ilSystemStyleDocumentationGUI::DATA_PATH);
$entries->addEntriesFromArray(require __DIR__ . "/../../../../../" . ilSystemStyleDocumentationGUI::DATA_PATH);

$parent_class_hierarchy = ['ilAdministrationGUI',
'ilObjStyleSettingsGUI',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public function executeCommand(): void
);
$this->tpl->setPermanentLink('stys', (int) $this->ref_id, $goto_link);
$entries = new Entries();
$entries->addEntriesFromArray(include ilSystemStyleDocumentationGUI::DATA_PATH);
$entries->addEntriesFromArray(require __DIR__ . "/../../../../../" . ilSystemStyleDocumentationGUI::DATA_PATH);
$documentation_gui = new ilSystemStyleDocumentationGUI(
$this->tpl,
$this->ctrl,
Expand Down

0 comments on commit e8987c7

Please sign in to comment.