Add: can defined submodule name (ex: $conf->module->submodule->dir_output)
Add: can change the module name if different (ex: $conf->newmodulename->dir_output)
This commit is contained in:
parent
c71c2f39fb
commit
432632a6e9
@ -72,11 +72,17 @@ class modMyModule extends DolibarrModules
|
|||||||
$this->dirs = array();
|
$this->dirs = array();
|
||||||
$r=0;
|
$r=0;
|
||||||
|
|
||||||
//$this->dirs[$r][0] = "mymodule";
|
//$this->dirs[$r][0] = "output";
|
||||||
//$this->dirs[$r][1] = "/mymodule";
|
//$this->dirs[$r][1] = "/mymodule";
|
||||||
|
//$this->dirs[$r][2] = 1; // Create constante in database if different of "output" and "temp" (ex: MAIN_MODULE_MYMODULE_DIR_OUTPUT)
|
||||||
|
//$this->dirs[$r][3] = "submodule"; // Add submodule name (ex: $conf->mymodule->submodule->dir_output)
|
||||||
|
//$this->dirs[$r][4] = "newmodulename"; // Change the module name if different (ex: $conf->newmodulename->dir_output)
|
||||||
//$r++;
|
//$r++;
|
||||||
//$this->dirs[$r][0] = "temp";
|
//$this->dirs[$r][0] = "temp";
|
||||||
//$this->dirs[$r][1] = "/mymodule/temp";
|
//$this->dirs[$r][1] = "/mymodule/temp";
|
||||||
|
//$this->dirs[$r][2] = 1; // Create constante in database if different of "output" and "temp" (ex: MAIN_MODULE_MYMODULE_DIR_TEMP)
|
||||||
|
//$this->dirs[$r][3] = "submodule"; // Add submodule name (ex: $conf->mymodule->submodule->dir_temp)
|
||||||
|
//$this->dirs[$r][4] = "newmodulename"; // Change the module name if different (ex: $conf->newmodulename->dir_temp)
|
||||||
|
|
||||||
// Relative path to module style sheet if exists. Example: '/mymodule/mycss.css'.
|
// Relative path to module style sheet if exists. Example: '/mymodule/mycss.css'.
|
||||||
$this->style_sheet = '';
|
$this->style_sheet = '';
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user