Skip to content

Commit

Permalink
https://github.com/humhub/humhub/issues/6849
Browse files Browse the repository at this point in the history
  • Loading branch information
marc-farre committed Feb 14, 2024
1 parent da3859c commit 41dfa44
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
7 changes: 4 additions & 3 deletions docs/develop/environment.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,13 @@ can be configured within `@humhub/protected/config/common.php` as follows:
// @humhub/protected/config/common.php
return [
'params' => [
'moduleAutoloadPaths' => ['/some/folder/modules'],
'moduleAutoloadPaths' => ['/some/folder/modules'],
],
]
```
This separation can be useful in your development environment in order to define a central module directory for different
test installations and prevent interference with marketplace modules.
This separation should be done for custom modules which are not in [the marketplace](https://marketplace.humhub.com/)
(e.g, `@app/custom-modules`) or for your development environment in order to define a central module directory
for different test installations and prevent interference with marketplace modules.

### Yii Debug Module

Expand Down
4 changes: 2 additions & 2 deletions docs/develop/modules.md
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ can also override the `getImage()` method of your module, if you need to return
### Install a Module

A module is considered as installed once it resides in one of the [module autoloader paths](environment.md#module-loader-path).
By default non-core modules reside in `@humhub/protected/modules`. You can install modules either by adding them
manually to an autoload path or by loading them from the marketplace.
By default modules from [the marketplace]([url](https://marketplace.humhub.com/)) reside in `@humhub/protected/modules`. Custom modules should be installed by adding them
manually to an autoload path such as `@app/custom-modules` or by loading them from the marketplace.

:::info
You can add additional module paths by means of the `moduleAutoloadPaths` parameter.
Expand Down

0 comments on commit 41dfa44

Please sign in to comment.