mirror of
https://github.com/friendica/friendica
synced 2024-12-22 19:20:17 +00:00
autoload addons via classmap instead of psr-4
This commit is contained in:
parent
87491dc3b5
commit
2d248ec8ca
1 changed files with 6 additions and 3 deletions
|
@ -95,9 +95,12 @@
|
|||
],
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
"Friendica\\": "src/",
|
||||
"Friendica\\Addon\\": "addon/"
|
||||
}
|
||||
"Friendica\\": "src/"
|
||||
},
|
||||
"classmap": ["addon/"],
|
||||
"exclude-from-classmap": [
|
||||
"addon/*/vendor/"
|
||||
]
|
||||
},
|
||||
"autoload-dev": {
|
||||
"psr-4": {
|
||||
|
|
Loading…
Reference in a new issue