clean markdown
This commit is contained in:
parent
449f4bb4a4
commit
40fa2291b1
@ -1,4 +1,4 @@
|
|||||||
# DOLIBARR ERP & CRM custom directory for external modules.
|
# DOLIBARR ERP & CRM custom directory for external modules
|
||||||
|
|
||||||
This directory is dedicated to store external modules.
|
This directory is dedicated to store external modules.
|
||||||
To use it, just copy here the directory of the module into this directory.
|
To use it, just copy here the directory of the module into this directory.
|
||||||
@ -8,15 +8,16 @@ a different place than this directory and just adding a symbolic link here to th
|
|||||||
of the module.
|
of the module.
|
||||||
|
|
||||||
For example on Linux OS: Get the module from the command
|
For example on Linux OS: Get the module from the command
|
||||||
mkdir ~/git; cd ~/git
|
`mkdir ~/git; cd ~/git`
|
||||||
git clone https://git.framasoft.org/p/newmodule/newmodule.git
|
`git clone https://git.framasoft.org/p/newmodule/newmodule.git`
|
||||||
Then create the symbolic link
|
Then create the symbolic link
|
||||||
ln -fs ~/git/newmodule/htdocs /path_to_dolibarr/htdocs/custom/newmodule
|
`ln -fs ~/git/newmodule/htdocs /path_to_dolibarr/htdocs/custom/newmodule`
|
||||||
|
|
||||||
WARNING !!!
|
WARNING !!!
|
||||||
Check also that the /custom directory is active by adding into dolibarr conf/conf.php file the following
|
Check also that the /custom directory is active by adding into dolibarr `conf/conf.php` file the following
|
||||||
two lines, so dolibarr will also scan /custom directory to find external external modules:
|
two lines, so dolibarr will also scan /custom directory to find external external modules:
|
||||||
|
|
||||||
|
```php
|
||||||
$dolibarr_main_url_root_alt='/custom';
|
$dolibarr_main_url_root_alt='/custom';
|
||||||
$dolibarr_main_document_root_alt='/path_to_dolibarr/htdocs/custom/';
|
$dolibarr_main_document_root_alt='/path_to_dolibarr/htdocs/custom/';
|
||||||
|
```
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user