Revision 7ca31ee8
Gestion de la version dans GLPI via VERSION.txt
Change-Id: I5659b3aec9405b23c49bb2f239fa0984e9ef88ff
Reviewed-on: https://vigilo-dev.si.c-s.fr/review/2518
Tested-by: Build system <qa@vigilo-dev.si.c-s.fr>
Reviewed-by: Yves OUATTARA <yves.ouattara@c-s.fr>
Reviewed-by: Francois POIROTTE <francois.poirotte@c-s.fr>
src/plugins/vigilo/plugin.php | ||
---|---|---|
50 | 50 |
function plugin_version_vigilo() |
51 | 51 |
{ |
52 | 52 |
return array('name' => 'Vigilo monitoring', |
53 |
'version' => '0.1',
|
|
54 |
'author' => 'CSSI', |
|
55 |
'license' => 'GPLv2+', |
|
56 |
'homepage' => 'http://vigilo-nms.org', |
|
57 |
'minGlpiVersion' => VIGILO_MIN_GLPI_VERSION); |
|
53 |
'version' => trim(file_get_contents(__DIR__ . DIRECTORY_SEPARATOR . 'VERSION.txt')),
|
|
54 |
'author' => 'CSSI',
|
|
55 |
'license' => 'GPLv2+',
|
|
56 |
'homepage' => 'http://vigilo-nms.org',
|
|
57 |
'minGlpiVersion' => VIGILO_MIN_GLPI_VERSION);
|
|
58 | 58 |
} |
59 | 59 |
|
60 | 60 |
function plugin_vigilo_check_config($verbose = false) |
Also available in: Unified diff