2024-10-29 11:12:57 +01:00
|
|
|
<?php
|
|
|
|
|
|
2024-10-30 09:49:16 +01:00
|
|
|
F::loadClasses([
|
|
|
|
|
'adrienpayet\\comments\\BaseComment' => __DIR__ . '/src/BaseComment.php',
|
|
|
|
|
'adrienpayet\\comments\\Comment' => __DIR__ . '/src/Comment.php',
|
|
|
|
|
'adrienpayet\\comments\\Reply' => __DIR__ . '/src/Reply.php'
|
|
|
|
|
]);
|
|
|
|
|
|
|
|
|
|
Kirby::plugin('adrienpayet/kirby4-comments', [
|
2024-10-29 11:12:57 +01:00
|
|
|
'routes' => [
|
|
|
|
|
require(__DIR__ . '/routes/create.php'),
|
|
|
|
|
require(__DIR__ . '/routes/update.php'),
|
|
|
|
|
require(__DIR__ . '/routes/delete.php'),
|
2024-10-29 16:51:31 +01:00
|
|
|
require(__DIR__ . '/routes/reply.php'),
|
2024-10-29 11:12:57 +01:00
|
|
|
]
|
|
|
|
|
]);
|