create comment classes
This commit is contained in:
parent
cd1f065962
commit
f5ffe312e2
8 changed files with 246 additions and 63 deletions
|
|
@ -1,6 +1,12 @@
|
|||
<?php
|
||||
|
||||
Kirby::plugin('adrienpayet/pdc-comments', [
|
||||
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', [
|
||||
'routes' => [
|
||||
require(__DIR__ . '/routes/create.php'),
|
||||
require(__DIR__ . '/routes/update.php'),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue