Skip to content

Commit 0a9c7af

Browse files
committed
Fix wrong path to plain license
1 parent f00c76e commit 0a9c7af

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/LegalPlain.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function render(Model &$model) {
1818
if (!$model instanceof LegalModel) {
1919
throw new IncorrectModelException();
2020
}
21-
echo file_get_contents("../LICENSE");
21+
echo $model->license;
2222
}
2323

2424
}

0 commit comments

Comments
 (0)