From c47b7636ce77eca3bcb6a780520c11ecf16992a2 Mon Sep 17 00:00:00 2001 From: Jean-Christian Denis Date: Tue, 31 Dec 2024 10:24:51 +0100 Subject: [PATCH] try something different for module define --- _define.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/_define.php b/_define.php index 5f7c479..10eb5a2 100644 --- a/_define.php +++ b/_define.php @@ -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', ] );