try something different for module define

This commit is contained in:
Jean-Christian Denis 2024-12-31 10:24:51 +01:00
parent c444d3f779
commit c47b7636ce
Signed by: JcDenis
GPG key ID: 1B5B8C5B90B6C951

View file

@ -20,11 +20,11 @@ $this->registerModule(
'0.1',
[
'requires' => [['core', '2.33']],
'settings' => ['blog' => '#params.' . basename(__DIR__) . '_params'],
'settings' => ['blog' => '#params.' . $this->id . '_params'],
'permissions' => 'My',
'type' => 'plugin',
'support' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/issues',
'details' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/src/branch/master/README.md',
'repository' => 'https://git.dotclear.watch/JcDenis/' . basename(__DIR__) . '/raw/branch/master/dcstore.xml',
'support' => 'https://git.dotclear.watch/JcDenis/' . $this->id . '/issues',
'details' => 'https://git.dotclear.watch/JcDenis/' . $this->id . '/src/branch/master/README.md',
'repository' => 'https://git.dotclear.watch/JcDenis/' . $this->id . '/raw/branch/master/dcstore.xml',
]
);