Skip to content

Commit

Permalink
fix: link to license
Browse files Browse the repository at this point in the history
  • Loading branch information
btry committed Feb 18, 2022
1 parent d3fd221 commit afc274b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion setup.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,12 +58,13 @@ function plugin_version_formcreator() {
echo 'This plugin requires GLPI >= ' . PLUGIN_FORMCREATOR_GLPI_MIN_VERSION;
return false;
}
$webDir = Plugin::getWebDir('formcreator');
$requirements = [
'name' => 'Form Creator',
'version' => PLUGIN_FORMCREATOR_VERSION,
'author' => '<a href="http://www.teclib.com">Teclib\'</a>',
'homepage' => 'https://github.com/pluginsGLPI/formcreator',
'license' => '<a href="../plugins/formcreator/LICENSE" target="_blank">GPLv2</a>',
'license' => '<a href="' . $webDir . '/LICENSE.md" target="_blank">GPLv2</a>',
'requirements' => [
'glpi' => [
'min' => PLUGIN_FORMCREATOR_GLPI_MIN_VERSION,
Expand Down

0 comments on commit afc274b

Please sign in to comment.