We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3fd221 commit afc274bCopy full SHA for afc274b
setup.php
@@ -58,12 +58,13 @@ function plugin_version_formcreator() {
58
echo 'This plugin requires GLPI >= ' . PLUGIN_FORMCREATOR_GLPI_MIN_VERSION;
59
return false;
60
}
61
+ $webDir = Plugin::getWebDir('formcreator');
62
$requirements = [
63
'name' => 'Form Creator',
64
'version' => PLUGIN_FORMCREATOR_VERSION,
65
'author' => '<a href="http://www.teclib.com">Teclib\'</a>',
66
'homepage' => 'https://github.com/pluginsGLPI/formcreator',
- 'license' => '<a href="../plugins/formcreator/LICENSE" target="_blank">GPLv2</a>',
67
+ 'license' => '<a href="' . $webDir . '/LICENSE.md" target="_blank">GPLv2</a>',
68
'requirements' => [
69
'glpi' => [
70
'min' => PLUGIN_FORMCREATOR_GLPI_MIN_VERSION,
0 commit comments