mirror of
https://github.com/humhub/humhub.git
synced 2025-01-17 14:18:27 +01:00
[v1.17] Switch default Module resources path (#6998)
* Switch default Module resources path * Update CHANGELOG-DEV.md --------- Co-authored-by: Lucas Bartholemy <lucas@bartholemy.com>
This commit is contained in:
parent
643b8eca78
commit
e3b43001d9
@ -38,6 +38,7 @@ At least PHP 8.0 is required with this version.
|
||||
- Use `(new ContentSearchService($exampleContent->content))->update();` instead of `Yii::$app->search->update($exampleContent);`
|
||||
- The method `setCellValueByColumnAndRow()` has been replaced with `setCellValue()` and `setValueExplicit()`.
|
||||
- When rendering xlsx generated data cells, use the `setCellValue()` method with the appropriate coordinate obtained using `getColumnLetter()`.
|
||||
- Switch `Module::$resourcesPath` to `resources`
|
||||
|
||||
### Deprecations
|
||||
- `\humhub\components\Module::getIsActivated()` use `getIsEnabled()` instead
|
||||
|
@ -46,7 +46,7 @@ class Module extends \yii\base\Module
|
||||
* @var string The path for module resources (images, javascripts)
|
||||
* Also module related assets like README.md and module_image.png should be placed here.
|
||||
*/
|
||||
public $resourcesPath = 'assets';
|
||||
public $resourcesPath = 'resources';
|
||||
|
||||
/**
|
||||
* @inheritdoc
|
||||
|
Loading…
x
Reference in New Issue
Block a user