Changes

Jump to navigation Jump to search
m
Line 27: Line 27:  
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.
+
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*.
This portion of code is known to work in all situations (using Apache, Nginx, IIS, using virtual host of subdirectories, after a proxy redirect or not, if the web root is auto-detected or forced by conf file, and any combination of this).
+
This portion of code is known to work in all situations (using Apache, Nginx, IIS, using virtual host of sub-directories, after a proxy redirect or not, if the web root is auto-detected or forced by conf file, and any combination of this).
    
<source lang="php">
 
<source lang="php">

Navigation menu