Changes

Jump to navigation Jump to search
m
Line 30: Line 30:  
An external module called '''mymodule''' can be installed into '''htdocs/custom/mymodule''' (the default) as well as in '''htdocs/mymodule'''. It must works in both cases. Because all modules must work correctly when they are installed into root directory or into a personalized custom subdirectory.
 
An external module called '''mymodule''' can be installed into '''htdocs/custom/mymodule''' (the default) as well as in '''htdocs/mymodule'''. It must works in both cases. Because all modules must work correctly when they are installed into root directory or into a personalized custom subdirectory.
   −
For this reason, when you try to load the Dolibarr environment by including the *main.inc.php* or *master.inc.php* file, you must include 2 ways to include them:
+
For this reason, when you try to load the Dolibarr environment by including the main.inc.php or *master.inc.php* file, you must include 2 ways to include them:
    
We recommend to use the method suggested in the examples in htdocs/modulebuilder/*.php files and presented here to load the *main.inc.php*, but you can replace the *main.inc.php* into *master.inc.php*.
 
We recommend to use the method suggested in the examples in htdocs/modulebuilder/*.php files and presented here to load the *main.inc.php*, but you can replace the *main.inc.php* into *master.inc.php*.

Navigation menu