2
0
forked from Wavyzz/dolibarr

Uniformize way to set version on modules

This commit is contained in:
Laurent Destailleur
2008-12-15 22:25:59 +00:00
parent b9cab3f82a
commit ced7c16506
25 changed files with 75 additions and 69 deletions

View File

@@ -56,9 +56,9 @@ class modService extends DolibarrModules
$this->name = eregi_replace('^mod','',get_class($this));
$this->description = "Gestion des services";
$this->revision = explode(" ","$Revision$");
$this->version = $this->revision[1];
// Possible values for version are: 'development', 'experimental', 'dolibarr' or version
$this->version = 'dolibarr';
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
$this->special = 0;
$this->picto='service';