Png file was not in correct directory

This commit is contained in:
Laurent Destailleur
2009-04-29 22:11:08 +00:00
parent f5f3f2e389
commit 7ccbf8f20c
4 changed files with 9 additions and 7 deletions

View File

@@ -63,14 +63,15 @@ class modMyModule extends DolibarrModules
$this->const_name = 'MAIN_MODULE_'.strtoupper($this->name);
// Where to store the module in setup page (0=common,1=interface,2=others,3=very specific)
$this->special = 0;
// Name of png file (without png) used for this module.
// Png file must be in theme/yourtheme/img directory under name object_pictovalue.png.
// Name of image file used for this module.
// If file is in theme/yourtheme/img directory under name object_pictovalue.png, use this->picto='pictovalue'
// If file is in module/images directory, use this->picto=DOL_URL_ROOT.'/module/images/file.png'
$this->picto='generic';
// Data directories to create when module is enabled.
$this->dirs = array();
$r=0;
//$this->dirs[$r][0] = "mymodule";
//$this->dirs[$r][1] = "/mymodule";
//$r++;