Fix: Error management in module activation

This commit is contained in:
Laurent Destailleur
2008-10-06 07:39:52 +00:00
parent 54a0b4fbde
commit 762140e975
51 changed files with 582 additions and 566 deletions

View File

@@ -54,7 +54,7 @@ class modDomain extends DolibarrModules
$this->name = eregi_replace('^mod','',get_class($this));
$this->description = "Gestion d'une base de noms de domaines";
$this->version = 'development'; // 'development' or 'experimental' or 'dolibarr' or version
$this->const_name = 'MAIN_MODULE_DOMAIN';
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
$this->special = 2;
$this->picto='user';