Fix: full path is defined by default

This commit is contained in:
Regis Houssin
2012-02-23 20:03:07 +01:00
parent e536bef00e
commit ee80305e6c
2 changed files with 6 additions and 13 deletions

View File

@@ -69,15 +69,15 @@ class modMyModule extends DolibarrModules
$this->picto='generic';
// Defined all module parts (triggers, login, substitutions, menus, css, etc...)
// for default path (eg: /mymodule/core/triggers) (0=disable, 1=enable)
// for specific path of parts (eg: /core/modules/barcode)
// for specific css file (eg: /css/mymodule.css.php)
// for default path (eg: /mymodule/core/xxxxx) (0=disable, 1=enable)
// for specific path of parts (eg: /mymodule/core/modules/barcode)
// for specific css file (eg: /mymodule/css/mymodule.css.php)
//$this->module_parts = array( 'triggers' => 1,
// 'login' => 0,
// 'substitutions' => 0,
// 'menus' => 0,
// 'css' => '/css/mymodule.css.php',
// 'barcode' => '/path/to/your/parts',
// 'css' => '/mymodule/css/mymodule.css.php',
// 'barcode' => '/mymodule/path/to/your/parts',
// 'hooks' => array('hookcontext1','hookcontext2'));
$this->module_parts = array();