Skip to content

Commit afc274b

Browse files
committed
fix: link to license
1 parent d3fd221 commit afc274b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

setup.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,13 @@ function plugin_version_formcreator() {
5858
echo 'This plugin requires GLPI >= ' . PLUGIN_FORMCREATOR_GLPI_MIN_VERSION;
5959
return false;
6060
}
61+
$webDir = Plugin::getWebDir('formcreator');
6162
$requirements = [
6263
'name' => 'Form Creator',
6364
'version' => PLUGIN_FORMCREATOR_VERSION,
6465
'author' => '<a href="http://www.teclib.com">Teclib\'</a>',
6566
'homepage' => 'https://github.com/pluginsGLPI/formcreator',
66-
'license' => '<a href="../plugins/formcreator/LICENSE" target="_blank">GPLv2</a>',
67+
'license' => '<a href="' . $webDir . '/LICENSE.md" target="_blank">GPLv2</a>',
6768
'requirements' => [
6869
'glpi' => [
6970
'min' => PLUGIN_FORMCREATOR_GLPI_MIN_VERSION,

0 commit comments

Comments
 (0)