Skip to content

Commit

Permalink
feat: use $this->path instead of __DIR__ #22
Browse files Browse the repository at this point in the history
  • Loading branch information
BernhardBaumrock committed May 5, 2023
1 parent 2f47ada commit f134e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RockMigrations.module.php
Original file line number Diff line number Diff line change
Expand Up @@ -4338,7 +4338,7 @@ public function getModuleConfigInputfields($inputfields)
'label' => 'Console',
'icon' => 'code',
'description' => "",
'value' => $this->wire->files->render(__DIR__ . "/profileeditor.php", [
'value' => $this->wire->files->render($this->path . "/profileeditor.php", [
'code' => $this->getConsoleCode(),
]),
]);
Expand Down

0 comments on commit f134e1b

Please sign in to comment.