Project

General

Profile

Revision 7ca31ee8

ID7ca31ee8aaa84c3b3c89124c7f09688af409d9ce
Parent 22269799
Child b8d07412

Added by Francois POIROTTE about 7 years ago

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 <>
Reviewed-by: Yves OUATTARA <>
Reviewed-by: Francois POIROTTE <>

View differences:

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