From 0a0c08a6dac8e57b6a7a1c3531e2a9b17a5bee84 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 14 Nov 2010 09:29:54 +0000 Subject: [PATCH] Fix: good example --- dev/skeletons/modMyModule.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev/skeletons/modMyModule.class.php b/dev/skeletons/modMyModule.class.php index 2a44c00c064..403f656f914 100644 --- a/dev/skeletons/modMyModule.class.php +++ b/dev/skeletons/modMyModule.class.php @@ -90,7 +90,7 @@ class modMyModule extends DolibarrModules $this->requiredby = array(); // List of modules id to disable if this one is disabled $this->phpmin = array(4,3); // Minimum version of PHP required by module $this->need_dolibarr_version = array(2,5); // Minimum version of Dolibarr required by module - $this->langfiles = array("mymodule"); + $this->langfiles = array("langfiles@mymodule"); // Constants // Example: $this->const=array(0=>array('MYMODULE_MYNEWCONST1','chaine','myvalue','This is a constant to add',0),