-
Notifications
You must be signed in to change notification settings - Fork 12
/
index.php
24 lines (22 loc) · 838 Bytes
/
index.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
<?php
use Kirby\Cms\App as Kirby;
Kirby::plugin('chrisbeluga/navigation', [
'fields' => [
'navigation' => [
'api' => require_once __DIR__ . '/config/api.php',
'props' => require_once __DIR__ . '/config/props.php',
'save' => require_once __DIR__ . '/config/save.php',
]
],
'translations' => [
'de' => require_once __DIR__ . '/languages/de.php',
'en' => require_once __DIR__ . '/languages/en.php',
'fr' => require_once __DIR__ . '/languages/fr.php',
'tr' => require_once __DIR__ . '/languages/tr.php',
],
'snippets' => [
'navigation' => __DIR__ . '/snippets/navigation.php',
'navigation_item' => __DIR__ . '/snippets/navigation_item.php',
],
'fieldMethods' => require_once __DIR__ . '/config/methods.php',
]);